It is mentioned here that if you want to use something different,  to
create a context.xml file specifying the path and docBase attributes. 
What if you want 2 applications to have different docBases?   

Ritchie 
Programmer Analyst





>>> [EMAIL PROTECTED] 31/03/2006 10:09 am >>>
> see also my other post in "*Setting the context path for expanded
WARs* "
> 
> On 24/03/06, Wang, Hansen <[EMAIL PROTECTED]> wrote:
>> The path is ignored when you deploy webapps this way. Tomcat will
use
>> the basename of the war file as the context path. If you want to
use
>> something different than that, you can create a context.xml and put
in
>> under the virtual host's conf direction (e.g.
>> CATALINA_HOME/conf/Catalina/localhost). In this context.xml, you
can
>> specify the context path and docBase.

Hi Nic and Hansen, thanks for this info, it's really useful.

Is this actually documented on the Tomcat site? I couldn't find
anything about it (in 
particular the renaming of context.xml to my#nested#path.xml)

Cheers,

Phil Wilson

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