1.conf\server.xml,修改如下:
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Context docBase="/E:/workspace/project_v3.0/webapp" path="/project"/>
<!-- SingleSignOn valve, share authentication between web applications Documentation at: /docs/config/valve.html --> <!-- <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> -->
<!-- Access log processes all example. Documentation at: /docs/config/valve.html --> <!-- <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> -->
</Host>
|
2.conf\Catalina\localhost\manager.xml,修改如下:
<Context docBase="/E:/workspace/project_v3.0/webapp" path="/project"/>
|
阅读(841) | 评论(0) | 转发(0) |