File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Mapping of Webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Mapping of Webapps" Watch "Mapping of Webapps" New topic

Mapping of Webapps

Sree Kumari
Ranch Hand

Joined: Aug 16, 2005
Posts: 50
Can we map another directory to webapps in Jakarta Tomcat which is outside the CATALINA_HOME.without using any IDE's
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
I'm not sure about the webapps directory itself, but the directories of individual web apps can be mapped by keeping a context file for that web app in TOMCAT_HOME/conf/Catalina/localhost that has a docBase attribute that points to that directory.
I agree. Here's the link:
subject: Mapping of Webapps
It's not a secret anymore!