Actually, having the path attribute is more flexible. You can then
specify something like /a/b/c which you cannot do with a filename.

Nick 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of Caldarale, Charles R
Sent: Thursday, August 09, 2007 3:10 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.20 application context set using Path?

> From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5.20 application context set using Path?
> 
> I have a web app that is located outside the webapps directory. Put 
> the context file app_name.xml in the conf/Catalina/localhost 
> directory. The context has a docBase attribute that points to the 
> directory and has a path attribute.

You were o.k. up to that point.  The path attribute must not be used;
instead, insure that the name of the file containing your <Context>
element is the path you wish to use for your webapp.  Recent versions of
Tomcat got rid of the redundancy and ambiguity of the path attribute.

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

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