Trying to figure out how to change the context path for a WAR file install
in the webapps dir (Tomcat 5.5.16); for example:

webapps/foo-1.2.0.war

...is expanded into a folder of the same name (minus the .war).  So far, so
good - this is as expected.  However, the context path is now set to /foo-
1.2.0 - how can I setup Tomcat so the context path for this application is
'/foo', regardless of the WAR name?

I've tried the META-INF/context.xml - setting path="/foo", with no luck -
the only URL that works is /foo- 1.2.0.

Thanks,

Chris.

Reply via email to