posted 20 years ago
When i do my deployment descriptor and want to capture a specific Exception to direct to another page, I thought that the following code does it, but it doecsn't seem to work. The error.jsp is always displayed, even with java.lang.NullPointerExceptions
<error-page>
<exception-type>java.lang.NullPointerException
</exception-type>
<location>/errorNull.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
Is this typical for all app servers or just WebSphere?
[ June 02, 2003: Message edited by: Ron Perich ]