error page handling in web.xml
by Selva[ Edit ] 2010-01-27 19:37:34
Here is entries for web.xml to handle errors :
<error-page>
<error-code>404</error-code>
<location>/pagenot found.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.NullPointerException</exception-type>
<location>/error.html</location>
</error-page>