How can I map multiple contexts to the same war file in Tomcat?
This can be done in several ways. I think this way is the most straightforward: Move the WAR file outside of the webapps/ auto-deploy directory Extract META-INF/context.xml from your WAR file. If your WAR doesn’t have a META-INF/context.xml file, just use a file with nothing but <Context /> in it Copy this file into Tomcat’s … Read more