You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dustin <br...@yahoo.com> on 2004/12/02 22:42:10 UTC
Common error pages
Is there a way to have tomcat (4 and/or 5) share error
files between all applications (contexts). I've tried
to add the error-page element in the global web.xml,
and while each app recognizes that element, it looks
within its own context for the page.
Example:
(in $CATALINA_HOME/conf/web.xml)
<error-page>
<error-code>404</error-code>
<location>/errordocs/error404.html</location>
</error-page>
Now each app looks for /errordocs within its own
context. I want to have all apps look in a common
place for those files. Maybe the root context.
Thanks,
Dustin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org