You can add pages for HTTP response codes to you web.xml file for each
web application you deploy within Tomcat.
Add the following to your web.xml file after <welcome-file-list> and
before <taglib> declarations:
<error-page>
<error-code>404</error-code>
<location>/pages/error.jsp</location>
</error-page>
Regards,
Chris.
On 22 Oct 2005, at 10:12, Roberto Bottoni - AfterBit wrote:
Hi,
I would like to replace a custom error page when i get a : HTTP Status
404
.. The requested resource (/..) is not available with Tomcat 5.
How I make this ?
Thanks.
Roberto.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]