• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

More than one web-application under the same root directory

 
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ) 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?
Thanks...
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I notice that you mention Tomcat. Is this actually a Tomcat question, or a Resin one? We have a separate forum for Tomcat questions, where you are much more likely to get a Tomcat-specific answer.
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic