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 Tomcat webapp path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat webapp path" Watch "Tomcat webapp path" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 41634
    
  55
Yes, that's possible. Look for the docBase attribute of the Context configuration.


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: Tomcat webapp path