Details
Description
Using the standard error-page declaration in web.xml only works when a java.lang.Exception is used as exception type, like
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jspx</location>
</error-page>
Using a specific exception, like i.e. a NullPointerException the redirect to an error page won't work anymore:
<error-page>
<exception-type>java.lang.NullPointerException</exception-type>
<location>/error.jspx</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jspx</location>
</error-page>
Using a specific exception, like i.e. a NullPointerException the redirect to an error page won't work anymore:
<error-page>
<exception-type>java.lang.NullPointerException</exception-type>
<location>/error.jspx</location>
</error-page>
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4984 |
Attachment | Test_ErrorPage.zip [ 11131 ] |
Fix Version/s | 1.7.2 [ 10130 ] | |
Assignee Priority | P2 | |
Assignee | Mircea Toma [ mircea.toma ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17220 | Wed Jul 23 15:59:39 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17221 | Wed Jul 23 16:01:04 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 1.7.2RC1 [ 10140 ] | |
Fix Version/s | 1.7.2 [ 10130 ] |
Fix Version/s | 1.7.2 [ 10130 ] | |
Fix Version/s | 1.7.2RC1 [ 10140 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Mircea Toma [ mircea.toma ] |
simple demo application