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
Mandeep Hayher
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7.1 [ 10122 ] | |
Assignee Priority | P1 | |
Assignee | Mircea Toma [ mircea.toma ] |
Mandeep Hayher
made changes -
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 this works for <error-page> <error-code>404</error-code> <location>/exceptionRedirect.jsp</location> </error-page> |
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> |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 | |
Assignee | Mircea Toma [ mircea.toma ] |