This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Context Path" Watch "Tomcat Context Path" New topic
Author

Tomcat Context Path

Daniel Cardenas
Greenhorn

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">

</Context>

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

Daniel

(for deployment I paste the war inside /webapps)
[ October 02, 2007: Message edited by: Daniel Cardenas ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Context Path
 
Similar Threads
Trouble mounting an additional context path using embedded Tomcat server (Maven-Tomcat plugin)
Warning Message When I Ran My ANT build.xml File
Building and deploying a war archive with Axis 1. in Tomcat
maven ear plugin question
context path setting in jboss