Tomcat不输入项目名进入自己项目(根目录指向自己的项目)

<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
  <Context path="" docBase="Auto" debug="true" reloadable="true" />  <!-- 添加这一行 AUTO为项目名称 -->

  <!-- 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 Note: The pattern used is equivalent to using pattern="common" -->
  <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b" />

</Host>

上一篇:jQuery的事件change


下一篇:maven build失败 (Failure to find io.renren:renren-security:pom:3.2.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository...)