Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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: 6968
2
Eclipse IDE Debian Java
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic