Advertisements

wrote:
> I am using apache tomcat 5.x as my container. i m getting error code
> 500 and i want to trap that error so that show my error page instead
> of tomcats error page.
>
> I m using this at the moment
>
> <error-page>
> <exception-type>java.lang.Exception</exception-type>
> <location>/test.jsp</location>
> </error-page>
>
> in my web.xml.
>
> Any help will be appreciated.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!