• 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 app in tomcat

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do I work with more than one web app in Tom cat. I'm using jakarta-tomcat-5.0.12. Say I have two webapps (like abc and xyz) under tomcat's webapp folder. Under each webapp I have WEB-INF and WEB-INF/classes. And web.xml in each WEB-INF with proper web.xml elements.

Can somebody clarify this.

regards
Sreenivas
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just deploy them as two war files. Tomcat is happy enough with more than one web app deployed at once. Tomcat on the machine I'm sitting at just now is happily serving four web apps.
[ January 05, 2005: Message edited by: Paul Sturrock ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sree Nivas:
Under each webapp I have WEB-INF and WEB-INF/classes. And web.xml in each WEB-INF with proper web.xml elements.



No clarification needed. You've got it exactly right.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic