tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Detlef PleiƟ <detlef.ple...@colours.de>
Subject Tomcat 5.0.25 does not honor error-page directive?
Date Thu, 27 May 2004 11:02:47 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message