RE: Error Page problems

2007-09-07 Thread Caldarale, Charles R
> From: ryoung5367 [mailto:[EMAIL PROTECTED] 
> Subject: Error Page problems
> 
> I noticed that I no longer get the standard Tomcat message on 
> 404's, but I get a 404 error in the browser.

Are you using Internet Explorer?  If so, it won't display short error
pages for known errors.  Try the same page with Firefox and see if it
works.  If it does, then either turn off "Show friendly [sic] HTTP error
messages" in IE's Tools -> Options -> Advanced tab, or make your custom
error page longer by adding spaces, dummy paragraphs, or ASCII art.
(Sorry, I don't remember the threshold size.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Error Page problems

2007-09-07 Thread ryoung5367

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

I put the following in my web.xml

 
404 
/error.html 
 

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]