aspose file tools*
The moose likes Tomcat and the fly likes More than one web-application under the same root directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "More than one web-application under the same root directory" Watch "More than one web-application under the same root directory" New topic
Author

More than one web-application under the same root directory

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270
I want to have more than one web-application under the same root directory. Lets say I want to make a copy of a web-application ( called questionnaire ) that I have been developing. Normally I put my web-application in webapps directory in Tomcat ( http://myDomain/questionnaire/login.jsp ):
webapps/questionnaire/login.jsp
Now I want to make a copy ( to another user/company ) of the web-application questionnaire, and I still want to write the start of the old URL ( http://myDomain/questionnaire/user1/login.jsp ): to run the web-application:
http://myDomain/questionnaire/user1/login.jsp
http://myDomain/questionnaire/user2/login.jsp
http://myDomain/questionnaire/user3/login.jsp
And it should be possible to start and stop user1�s application without starting and stopping user2 and user3�s web-application.
My web-applications should now be placed in this way:
webapps/questionnaire/user1/login.jsp
webapps/questionnaire/user2/login.jsp
webapps/questionnaire/user3/login.jsp
Is that possible without making any changes in the URL�s in code and web.xml?
Thanks...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: More than one web-application under the same root directory
 
Similar Threads
J2EE application in production environment
More than one web-application under the same root directory
files in WEB-INF/classes not found?
Combining static and dynamic content
How Would You Setup Oracle User Accounts