vim /app/tomcat/conf/server.xml#appBase 定义站点目录#docBase 定义首页目录...<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"><Context path="" docBase="/app/tomcat/webapps/test" debug="0" reloadable="false"crossContext="true"/>...</Host>