Meaningless Drivel is fun!
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

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: 42965
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Mapping of Webapps
It's not a secret anymore!