• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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/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...
 
You have to be odd to be #1 - Seuss. An odd little ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic