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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- 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]