aspose file tools
The moose likes Tomcat and the fly likes Tomcat 7 context path and war file name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

Tomcat 7 context path and war file name

Prashant Chotu

Joined: Jun 28, 2012
Posts: 19

Is there any configuration in tomcat context.xml file so that if I give non-empty context path in the url and my ROOT.war is browsed ?

For eg - Browse localhost:8080 gives access to webapps/ROOT directory

I want - Browse localhost:8080/xyz should give access to webapps/ROOT directory.

Is it possible ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16753

Please do not ask the same question twice. It won't get you an answer any faster and it just clutters up the forum.

Customer surveys are for companies who didn't pay proper attention to begin with.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Tomcat 7 context path and war file name