tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Lai ...@michael.lai.name>
Subject Re: Where to put context.xml?
Date Tue, 13 Sep 2005 13:48:20 GMT
Caldarale, Charles R wrote:

>To again quote from the Tomcat doc for the path attribute of the
><Context> element:
>
>"The value of this field must not be set except when statically defining
>a Context in server.xml, as it will be infered [sic] from the filenames
>used for either the .xml context file or the docBase."
>
>Also note that placing <Context> tags is server.xml is strongly
>discouraged.
>

OK, I took out "/ROOT" from the path field and it still works.  But the 
context file must still be named ROOT.xml.  The application fails to 
work with any other filename.

---------------------------------------------------------------------
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