File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat webapp path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat webapp path" Watch "Tomcat webapp path" New topic

Tomcat webapp path

Felix Li
Ranch Hand

Joined: Jul 09, 2008
Posts: 38
Greetings everyone. I am a newbie to Tomcat server but my work involves a lot of work with Apache/Tomcat at the backend.

I would like to know if it is possible for tweak Tomcat to look for webapp for deployment in elsewhere other than $TOMCAT_ROOT/webapps/app_name/... ? If so, how can it be configured?

Thanks in advance

FL<br /> <br />SCJP,SCWCD
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Yes, that's possible. Look for the docBase attribute of the Context configuration.
I agree. Here's the link:
subject: Tomcat webapp path
It's not a secret anymore!