<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
下增加
<Context path="/localfile" docBase="/root/wars" debug="0" reloadable="true" />
web.xml修改如下图
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
下增加
<Context path="/localfile" docBase="/root/wars" debug="0" reloadable="true" />
web.xml修改如下图