问题
Kind of a noob with tomcat 7, how do you implement this setting found here: http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Common_Attributes
Trying to set unpackWARs to true so i dont have to manually unpack a war to deploy it, but have no idea where to do this.
回答1:
This setting can be found in server.xml under your Tomcat 7 configuration directory. For example, on Ubuntu, this is /etc/tomcat7/server.xml, and the setting is part of the <Host>
element:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
来源:https://stackoverflow.com/questions/22869369/how-to-implement-unpackwars-tomcat-7