Yes, unless I'm mistaken, the inclusion of context elements in the .war file
is a Tomcat 5+ feature.

There is no way to upload .war files before this if you are going to serve
from the .war file.

Andoni.

----- Original Message ----- 
From: "J S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 10:21 AM
Subject: RE: context path for a war file


> That's what I thought, but it still only deplot the app to /bar.
> I'm using tomcat 4.1.24 so not sure if that version is too old?
>
> >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
> >
> > >
> > >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]
> >
>
> _________________________________________________________________
> Express yourself with cool new emoticons
http://www.msn.co.uk/specials/myemo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to