tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dustin <bronco_fan_...@yahoo.com>
Subject Common error pages
Date Thu, 02 Dec 2004 21:42:10 GMT
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


Mime
View raw message