> From: Rob Tanner [mailto:[EMAIL PROTECTED] 
> Subject: Re: sun-web.xml file in Tomcat
> 
> In Tomcat the context root is simply the path in the 
> context declaration in server.xml.

You should not have any <Context> declarations in server.xml; that
capability is there only for compatibility with older levels.  If you
put the <Context> element where it belongs (META-INF/context.xml), then
Tomcat also uses the name of the app as the path (the path attribute is
not allowed in this case).  Take a look at the doc:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to