Try adding these definitions to your web.xml
<error-page>
<error-code>404</error-code>
<location>/Failure.jsp</location>
</error-page>
<error-page>
<exception-type>java.io.IOException</exception-type>
<location>/Failure.jsp</location>
</error-page>
The top one should redirect to Failure.jsp on an HTTP 404, while the bottom one should redirect to Failure.jsp on an uncaught IOException.
Remember that <error-page> elements must come between <welcome-file-list> and <taglib> elements
cheers
Rory
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 10:17 AM
To: [EMAIL PROTECTED]
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]>
