my dog learned polymorphism
The moose likes Tomcat and the fly likes Tomcat Context Path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Context Path" Watch "Tomcat Context Path" New topic

Tomcat Context Path

Daniel Cardenas

Joined: Jul 26, 2005
Posts: 10
I have a war file named 'my-project-1.0.war' and I want it deploys with path /my-project but not as /my-project-1.0.

The file /META-INF/context.xml (inside the war file) is:

<Context path="/my-project">


But not work. It deploys as /my-project-1.0


(for deployment I paste the war inside /webapps)
[ October 02, 2007: Message edited by: Daniel Cardenas ]
subject: Tomcat Context Path
It's not a secret anymore!