posted 19 years ago
I have similar problem. If I asked for non-existent page, it shows 404 not found, instead of my Custom page. I put the html files directly under context directory. Tomcat version I am using is 5.0.28. I tested the java.lang.Throwable, its working fine. Any ideas, what could have been wrong?
============== web.xml =====================
<web-app>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/Custome_Error_Page.html</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/Custome_NotFound_Page.html</location>
</error-page>
</web-app>
=============================================