ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  How to Publish Multiple Websites Using a Single Tomcat Web Application
Subject:   Real Virtual Hosts
Date:   2006-09-01 09:41:10
From:   guymac
It would be good if this could be done with real virtual hosts, not aliases.


For example, let's say the web-app only used servlets. Then it could be used as a common library jar that multiple hosts are using. Since JSP's are converted to servlets, this idea could be extended to them as well (though I have no idea how).


However, I suspect that Tomcat would create new instances of each servlet in each context.