Ok, maybe I'm missing something, please show us how this works....
Make a Web App with the name TEST
make the context path

<Context path="/TheOneIWant"/>

Compile it and drop that WAR into Tomcats webapp (auto deploy)

The context will be changed to TEST.... will it not?
Yes it does describe the thing in conf/Catalina/[host] but its not the one the user put in....

Please explain why this is not true?

----- Original Message ----- From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, June 22, 2007 3:13 AM
Subject: RE: Multiple Contexts from single WAR


From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Multiple Contexts from single WAR

OK... you cant do it from a WAR, the tomcat WAR deployment seems to ignore contexts and always default to the name of
the WAR file.

Not true.  When the .war is located someplace other than the <Host>
appBase, the name of the .xml file in conf/Catalina/[host] supplies the
webapp name, and the docBase attribute specifies the location -
completely independent of the app name.

- 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