If we place a war
file inside webapps
folder of tomcat then it deploys it when we start the server, but it is not the case when we place the war
file inside a sub folder of webapps
.
Is there any way by which we can achieve this deployment process within sub directory of webapps
?
We can change the war deployment path(application base directory) in TOMCAT_HOME/conf/server.xml
.
<Host name="localhost" appBase="webapps\your_directory"
unpackWARs="true" autoDeploy="true">