You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ravi Nathwani <na...@hotmail.com> on 2005/07/14 10:11:53 UTC
Nested Web applications.
Hi all,
I have multiple web applications. Currently all of them are distributed as
WAR files and each one has a web.xml file with its own configurations. When
they are installed, a separate directory for each is created in the /webapps
folder. These applications are currently working fine.
Now I want to integrate all these application into one. This application
when installed using its WAR file will create a folder in /webapps say
/mainapp. This will contain just one initialization servlet and its
directory structure will look as follows
/webapps/mainapp/apps
/webapps/mainapp/apps/webapp_1.war
/webapps/mainapp/apps/webapp_1
/clientcode
/lib (3rd party client libraries)
/icons
/logs
/WEB-INF
/web.xml
/classes (inhouse server classes)
/lib (3rd party server libraries)
/webapps/mainapp/apps/webapp_n.war
/webapps/mainapp/apps/webapp_n
/clientcode
/lib
/icons
/logs
/WEB-INF
/web.xml
/classes
/lib
/webapps/mainapp/common
/webapps/mainapp/common/classes (inhouse common client classes)
/webapps/mainapp/common/icons
/webapps/mainapp/common/lib (3rd party common client libraries)
/webapps/mainapp/license
/license.dat (This will determine which webapp to
install)
/webapps/mainapp/WEB-INF
/web.xml
/classes (inhouse common server classes)
/lib (inhouse and 3rd party common server libraries)
The main application WAR file will contain all the other WAR files in its
/app folder. Each of the other applications will have an initialization
servlet and their servlet names would be configured in the main
application's web.xml file.
How can a servlet tell Tomcat to expand the WAR file and install web
applications under it?
Regards,
Ravi
_________________________________________________________________
Get yourself a brand new Mobile.
http://adfarm.mediaplex.com/ad/ck/4686-26272-10936-378?ck=BuyNewMobile
Find,Compare & BUY IT NOW on eBay.in!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org