java - Context path for tomcat deployed web application -


i have deployed web application on tomcat7 , looking forward update virtual host map domain name application updating server.xml. approach correct? working on ubuntu os , not sure how context path web app. appreciated.

the context path of application name of war file. if want override it, can follow tomcat's documentation (https://tomcat.apache.org/tomcat-7.0-doc/config/context.html).

edit server.xml in conf folder of tomcat installation , make following changes.

<host name="localhost"  appbase="webapps" unpackwars="true" autodeploy="true" xmlvalidation="false" xmlnamespaceaware="false">  <context path="/yoururl" docbase="yourapp" usehttponly="false"> <manager pathname="" /> </context>  </host> 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -