Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Fix Version/s: 1.7.1
-
Component/s: None
-
Labels:None
-
Environment:N/A
Description
Following scenario for exception handling is not working:
web.xml contains:
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/exceptionRedirect.jsp</location>
</error-page>
exceptionRedirect.jsp contains:
<% response.sendRedirect("/App/error.jspx"); %>
NOTE: same works for
<error-page>
<error-code>404</error-code>
<location>/exceptionRedirect.jsp</location>
</error-page>
web.xml contains:
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/exceptionRedirect.jsp</location>
</error-page>
exceptionRedirect.jsp contains:
<% response.sendRedirect("/App/error.jspx"); %>
NOTE: same works for
<error-page>
<error-code>404</error-code>
<location>/exceptionRedirect.jsp</location>
</error-page>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion