Add an error-page directive to your web-application's web.xml file:
<error-page>
<error-code>404</error-code>
<location>/error.html</location>
</error-page>
Please see the "Deployment Descriptor" section of the servlet specs for
more information.
RS
[EMAIL PROTECTED] on 07/09/2002 09:16:52 AM
Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: customised error pages rather than tomcats error pages
Hi
I would like to know how can I set tomcat to output my own custom error
pages
when i get error 403, 404, 500 and so on rather than tomcats error pages.
Thanxs
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>