how to implement unpackWARs tomcat 7

谁说我不能喝 提交于 2019-12-11 19:48:30

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!