I am trying to deploy a web app in tomcat 8 where the context path should be different from the war file name.
We should be able to do this by adding a context.xml file in META-INF folder in web app according to this tomcat documentation. I created this file with the following content, but this does not change the context path to mypath.
Tried changing the docBase value to "webapps/myWarWeb-1.0.0-SNAPSHOT", "myWarWeb-1.0.0-SNAPSHOT.war" and "myWarWeb-1.0.0-SNAPSHOT" without any success.
Any idea on this?
Thanks, Akalanka.
Aucun commentaire:
Enregistrer un commentaire