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


Win a copy of Spring in Action this week in the Spring forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom Error Page for Error Code 500 in Tomcat