Make sure you follow the DTD.  The containers in web.xml (like "error-page")
have to go in a very specific order.

John Turner
[EMAIL PROTECTED]


-----Original Message-----
From: John Regan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 4:43 PM
To: Tomcat User Group (E-mail)
Subject: Is it possible to specify a global 404 error page for all apps
un der tomcat 4


Good afternoon,
I am trying to specify a generic 404 error page for all webapps in tomcat 4.
I added the following entry to tomcathome\conf\web.xml:
<error-page>
    <error-code>404</error-code>
    <location>/csa/jsp/Error404.jsp</location>
   </error-page>
under the default welcome files list and it doesn't work(just the generic
tomcat page not found page comes up).  csa is a directory under webapps.  Is
there a way to make this work??

Thanks in advance for any help,
JBR
"breakdancing will never go out of style."
Larry Crantz '87

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

Reply via email to