Hi, I want to have more than one context path for a single deployment in Tomcat 5.5.28. Whatever I do I seem to get multiple deployments. In server.xml I have: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="false" deployIgnore="alternative" xmlValidation="false" xmlNamespaceAware="false">
In conf/Catalina/localhost I have two .xml files ("primary.xml" and "alternative.xml") both containing: <Context docBase="/opt/tomcat/multiapps/primary"> </Context> In /opt/tomcat/multiapps/primary the web app resides. In the web app I want to be able to use getContextPath() and get response based on what URL used to access (either "www.mydomain.com/primary" or "www.mydomain.com/alternative") Can anyone help? -Jan -- View this message in context: http://old.nabble.com/Multiple-context-paths-for-single-deployment-tp31601866p31601866.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org