File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Configuring Context Path for various environments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Configuring Context Path for various environments" Watch "Configuring Context Path for various environments" New topic
Author

Configuring Context Path for various environments

Ram Iyers
Greenhorn

Joined: Feb 05, 2008
Posts: 8
Hi

I'm trying to configure a context path 'pamweb/qa', 'pamweb/dev', 'pamweb/prod' one for each environment.
How do I do that in context.xml?

I tried <Context path="/pamweb/qa" docBase="${catalina.home}/webapps/pamweb" debug="5" reloadable="true" crossContext="true"> and doesn't work.
Basically I want my app URL for dev environment to be like http://localhost:8080/pamweb/dev - for dev environment.

Thanks
Ram
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring Context Path for various environments