tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Detlef Pleiß <detlef.ple...@colours.de>
Subject AW: Tomcat 5.0.25 does not honor error-page directive?
Date Thu, 27 May 2004 12:49:55 GMT
I added the <error-page> tag to the end of the original
webapps/ROOT/WEB-INF/web.xml (before </web-app>).
That even does match the order in the Deployment Descriptor Version 2.3.

-----Ursprüngliche Nachricht-----
Von: Rick Knowles [mailto:rick@knowleses.org] 
Gesendet: Donnerstag, 27. Mai 2004 13:20
An: Tomcat Developers List
Betreff: Re: Tomcat 5.0.25 does not honor error-page directive?

Sorry - just checked the file. There's only servlet and servlet-mapping
elements. My bad

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: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

---------------------------------------------------------------------
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