Is it possible to have Tomcat look for web applications in more than one webapps-directory?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, April 6, 2001 12:30 PM

Our web application consists of several sub-projects and thus is organized in several VisualAge for Java-projects. Therefore we have a bunch of ..project_resourceswebapps directories.

Re: Is it possible to have Tomcat look for web applications in more than one webapps-directory?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Friday, April 6, 2001 12:51 PM

Klaus,

Yes, absolutely. The webapps directory is where Tomcat looks for contexts and loading them even if you have not specified them in the server.xml configuration.

But if you can specify contexts in this way:



and Tomcat will take care of adding the context from that dir.

One important thing: they need to have different context names...
About | Sitemap | Contact