• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

more than one web app in tomcat

 
Sree Nivas
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • 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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • 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 ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic