<Resolved >Re: tomcat 5.5.23 can 't have context path different from war name. 2007-08-07 - By lmk
Back
thanks David.it's well deployed now.. you are the best !!
David Smith-2 (See http://ith-2.ora-code.com) 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 (See http://UTF-8.ora-code.com)"?> >><Context path="/mypath" privileged="true" >>docBase="C:\apache-tomcat-5 (See http://cat-5.ora-code.com).5.23\webapps\my_webapp.war" override="true"> >></Context> >> >> >>thanks.. >> >> >> >> >> > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To start a new topic, e-mail: users@(protected) > To unsubscribe, e-mail: users-unsubscribe@(protected) > For additional commands, e-mail: users-help@(protected) > > >
-- View this message in context: http://www.nabble.com/tomcat-5 (See http://cat-5.ora-code.com).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@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|