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]