This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes running web-app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "running web-app" Watch "running web-app" New topic

running web-app

gaurav abbi
Ranch Hand

Joined: Jan 05, 2007
Posts: 108
hi all,
i just want to know if i can run a web-application by keeping my whole web-app directory structure in some other directory instead of keeping it in TOMCAT_HOME.
if yes, can anybody giveme some link or tell me the steps i need to follow.

thanks,<br />gaurav abbi
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
yes, that's possible. Check out the docBase attribute of the Context configuration.
subject: running web-app
It's not a secret anymore!