Michael Weller wrote:
>
> so your solution would be very portable because every container
> must support that!?
>

 Sort of, the spec explicitly allows access to web.xml (if
it exists):

   SRV.9.5 Directory Structure

   However, the contents of the WEB-INF directory
   are visible to servlet code using the getResource
   and getResourceAsStream method calls on the
   ServletContext.

 But containers like Tomcat 4 will merge in a set of
defaults from a container-wide web.xml. eg, entries in
Tomcat conf/web.xml. Other containers have similiar
sorts of setups, so global error pages defined in a
container-specific way would not be seen.


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to