• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying in Tomcat other than in webapps folder

 
Senthil Kumar
Ranch Hand
Posts: 264
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any one tell me how can i have my application(be it a .war file or a simple directory structure) reside in other than the webapps folder and still able to run it.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a file called TOMCAT_HOME\conf\Catalina\localhost\mywebapp.xml with contents like this:

Then your web app directory will be C:/path/to/my/web/app, and accessible under /mywebapp.
[ September 13, 2006: Message edited by: Ulf Dittmer ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic