Oct 29, 2013

[Tomcat] How to change root folder of tomcat

Open server.xml and edit as follows.


<Host name="localhost" appBase="c:\works\root"
  unpackWARs="true" autoDeploy="true"
  xmlValidation="false" xmlNamespaceAware="false">

<Context path="" docBase="." reloadable="true"/>
</Host>

No comments:

Post a Comment