-
Bug
-
Resolution: Done
-
Major
-
7.3.2.CR1
-
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>
- clones
-
UNDERTOW-1762 Error page for custom exception-type is not is not displayed in jsp development mode
- Resolved