wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Custom Error Page for Error Code 500 in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Custom Error Page for Error Code 500 in Tomcat" Watch "Custom Error Page for Error Code 500 in Tomcat" New topic
Author

Custom Error Page for Error Code 500 in Tomcat

Ram Balasubramaniam
Greenhorn

Joined: Oct 19, 2001
Posts: 21
Hi
I am trying to have a custom error page for the HTTP 500 error code . I am using Tomcat 3.2.3
In my application
/tomcat/webapps/myapp/WEB-INF/web.xml I have added the following code.

When I restart the server , I am able to see error page for 404 but 500 does not seem to work. I am really confused.Am i Doing any mistakes in web.xml.
My error page is in the /tomcat/webapps/myapp/errorpage.html.
I even tried using errorpage.jsp as suggested by some one in the forum , but it dint work .
Can some one point out the mistake.
Thanks
Ram
 
 
subject: Custom Error Page for Error Code 500 in Tomcat
 
Similar Threads
web.xml error page
web.xml error page
Problem with Apache Tomcat 5.5.12 and calling Servlets
error-page declaration in web.xml
Problems getting servlets to work with inovoker servlet disabled