Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is possible to subdir webapps directory?

directory possible webapps
0
Posted

Is possible to subdir webapps directory?

0

Location: http://www.jguru.com/faq/view.jsp?EID=779619 Created: Mar 3, 2002 Author: Alessandro A. Garbagnati (http://www.jguru.com/guru/viewbio.jsp?EID=32727) Question originally posed by Peter Burgstaller (http://www.jguru.com/guru/viewbio.jsp?EID=763476 Additional info: I’d like to organize my webapps in subdirectories of the tomcat/webapps/ directory. I have right now a setup like: /tomcat/webapps//application The problem that I have is that those applications are not started automatically upon tomcat startup. I do have the tags in my individual web.xml files but it doesn’t seem to do anything. Unfortunately, this structure can’t really work. Tomcat, in fact, consider all the subdirectories under the webapps directory as default contexts. In this case it considers all the directories as contexts and looks for the WEB-INF/web.xml for each of them. So, in your design, Tomcat considers the client’s directories (and not their subdirectories) as web app

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123