tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: tomcat 5.5.23 can't have context path different from war name.
Date Tue, 07 Aug 2007 13:23:33 GMT
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


Mime
View raw message