You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by lmk <lo...@yahoo.fr> on 2007/08/07 15:54:38 UTC

Re: tomcat 5.5.23 can't have context path different from war name.

thanks David.it's  well deployed now.. you are the best !!



David Smith-2 wrote:
> 
> Store the webapp outside the webapps directory, rename 
> CATALINA_HOME/conf/Enginename/HostName/app_name.xml to newAppName.xml 
> and add a docBase attribute to it pointing the way to the webapp's new 
> location.
> 
> --David
> 
> lmk wrote:
> 
>>hellooo,
>>
>>do you have  any solution to set the context path didfferent from the
>>application name,
>>i set the context into the META-INF directory, tomcat copied this the
>>contaxt into CATALINA_HOME/conf/Enginename/HostName/app_name.xml.
>>but the /mycontextpath  is not deployed..I still have the /app_name
>>context..
>>
>>context.xml
>>
>><?xml version="1.0" encoding="UTF-8"?>
>><Context path="/mypath" privileged="true"
>>docBase="C:\apache-tomcat-5.5.23\webapps\my_webapp.war" override="true">
>></Context>
>>
>>
>>thanks..
>>
>>
>>
>>  
>>
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/tomcat-5.5.23-can%27t-have-context-path-different-from-war-name.-tf4230057.html#a12034821
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org