I am trying to capture certain errors and display a friendly screen.

I put the following in my web.xml

<error-page> 
    <error-code>404</error-code> 
    <location>/error.html</location> 
</error-page> 

I noticed that I no longer get the standard Tomcat message on 404's, but I
get a 404 error in the browser.  I thought this was because maybe it could
not find the error.html, but no matter where I put it I get the same
results.

Where would it normally look for that file?  I have searched the forum and
google, but can not find my answer.

Any help would be appreciated.

Thanks in advance

Rob
-- 
View this message in context: 
http://www.nabble.com/Error-Page-problems-tf4403245.html#a12561526
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to