• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Custom Error Page for Error Code 500 in Tomcat

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic