web应用当中,加了过滤器,如果抱错,就跳转不到错误页面了!
没有加过滤器的路径是没有问题的注:加过滤器的都需要登陆web.xml<error-page>
    <exception-type>javax.servlet.ServletException</exception-type>
    <location>/error.jsp</location>
</error-page>
Serlvet.javatry{
...
   }
   catch(SQLException ex){
       throw new ServletException(ex.toString());
   }