Hi,
Include in your WAR file a META-INF/context.xml file with a Context
element like
<Context path="/foo/bar" docBase="bar.war" />

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: J S [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 21, 2004 3:39 PM
>To: [EMAIL PROTECTED]
>Subject: context path for a war file
>
>Hi tomcat-users,
>
>I'm trying to upload a war file (called bar.war) through the tomcat
>manager.
>I want the context path to be /foo/bar. However tomcat initialises it
to
>/bar.
>
>How do I get round this?
>
>Thanks,
>
>JS.
>
>_________________________________________________________________
>Want to block unwanted pop-ups? Download the free MSN Toolbar now!
>http://toolbar.msn.co.uk/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to