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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17221 | Wed Jul 23 16:01:04 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/ViewBoundServer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17220 | Wed Jul 23 15:59:39 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ViewBoundServer.java
|