-
Bug
-
Resolution: Done
-
Major
-
2.1.3.Final
-
None
-
-
Workaround Exists
-
With the jsp-config set for development mode, org.apache.jasper.servlet.JspServletWrapper wraps the ServletException with a JasperException. io.undertow.servlet.core.ErrorPages.getErrorLocation then does not check the original cause of that JasperException, so it won't find the error page for the original exception type. So then a config like this cannot work for a custom exception-type in development mode:
<error-page> <exception-type>com.redhat.exception.CustomException</exception-type> <location>/error.jsp</location> </error-page>
- is cloned by
-
JBEAP-20008 [GSS](7.3.z) UNDERTOW-1762 - Error page for custom exception-type is not displayed in jsp development mode
- Closed