Hi,
This is a tomcat-user, not tomcat-dev question.

Make sure your "Show Friendly Error Pages" option in IE (Advanced Options page) is 
disabled.  This works for me in 5.0.25 (and it's part of our automated test scripts 
before a release, which pass needless to say).

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Rick Knowles [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 27, 2004 7:18 AM
>To: Tomcat Developers List
>Subject: Re: Tomcat 5.0.25 does not honor error-page directive?
>
>What does the rest of the web.xml look like ... could it be an order
>thing (DTDs impose ordering on the elements) ? Which DTD/XSD did you use ?
>
>Rick Knowles
>
>Detlef Pleiß wrote:
>
>>In a freshly unzipped jakarta-tomcat-5.0.25 installation I added
>>
>><error-page>
>><error-code>404</error-code>
>><location>/404.html</location>
>></error-page>
>>
>>(copied from servlet-2_4-fr-spec.pdf page 153)
>>
>>Just before the closing </web-app> in webapps/ROOT/WEB-INF/web.xml
>>
>>I then copied a simple 404.html file to webapps/ROOT.
>>
>>However, when requesting some non existing page like
>>http://127.0.0.1:8080/blub.jsp
>>I get the standard browser 404 error page (in my case MSIE) not my
>404.html.
>>
>>Is this a bug?
>>
>>Ciao - thanks - Det.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to