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 Mapping of Webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Mapping of Webapps" Watch "Mapping of Webapps" New topic
Author

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
Rancher

Joined: Mar 22, 2005
Posts: 42955
    
  73
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Mapping of Webapps