Tomcat 配置Context

     <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">


<Context path="/a" docBase="E:\Projects\MyEclipse6_6\TestFirst\WebRoot" reloadable="true" />


             <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
               prefix="localhost_access_log." suffix=".txt"
               pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>

      </Host>
    </Engine>
  </Service>
</Server>
posted @ 2011-03-28 00:40  庚武  Views(244)  Comments(0Edit  收藏  举报