Currently, we have the following webapp:
webapp1/
--META-INF/
--WEB-INF/
----web.xml
----lib/
This webapp is very simple, has no front end, a very basic web.xml, and executes lots of code within the jar files in WEB-INF/lib.
We have developed a separate webapp that does have a front end, uses struts, tons of tag libraries, etc and looks like:
webapp2/
--images/
--jsp
--script
--style
--META-INF/
--WEB-INF/
----web.xml
----struts-config.xml
----a ton of tld's
----lib/
The issue we ran into is that webapp1 now needs to initialize, launch and interact with webapp2. However, because webapp2 has a very different configuration and should be somewhat modular, we don't want to just combine the two.
question: is it possible, in tomcat 5.5, to make the following directory structure work:
webapp1/
--META-INF/
--WEB-INF/
----web.xml
----lib/
----webapp2/
------images/
------jsp
------script
------style
------META-INF/
------WEB-INF/
--------web.xml
--------struts-config.xml
--------a ton of tld's
--------lib/
that is, webapp2 is contained within the WEB-INF folder of webapp1 but each webapp still has its own web.xml, WEB-INF/, META-INF, etc.
webapp1/
--META-INF/
--WEB-INF/
----web.xml
----lib/
This webapp is very simple, has no front end, a very basic web.xml, and executes lots of code within the jar files in WEB-INF/lib.
We have developed a separate webapp that does have a front end, uses struts, tons of tag libraries, etc and looks like:
webapp2/
--images/
--jsp
--script
--style
--META-INF/
--WEB-INF/
----web.xml
----struts-config.xml
----a ton of tld's
----lib/
The issue we ran into is that webapp1 now needs to initialize, launch and interact with webapp2. However, because webapp2 has a very different configuration and should be somewhat modular, we don't want to just combine the two.
question: is it possible, in tomcat 5.5, to make the following directory structure work:
webapp1/
--META-INF/
--WEB-INF/
----web.xml
----lib/
----webapp2/
------images/
------jsp
------script
------style
------META-INF/
------WEB-INF/
--------web.xml
--------struts-config.xml
--------a ton of tld's
--------lib/
that is, webapp2 is contained within the WEB-INF folder of webapp1 but each webapp still has its own web.xml, WEB-INF/, META-INF, etc.