Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom Error Page for Error Code 500 in Tomcat

 
Ram Balasubramaniam
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic