jsp发布:tomcat+花生壳

1.tomcat/conf/server.xml

      <Host name="localhost"  appBase="webapps"

            unpackWARs="true" autoDeploy="true"

xmlValidation="false" xmlNamespaceAware="false"> 

 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" 



pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log." 



suffix=".txt"/>



  



 <Context docBase="D:\workspace\eclipseworkspace1\.metadata\.plugins \org.eclipse.wst.server.core\tmp0\wtpwebapps\daciedu" path="" reloadable="true" debug="0" />  

      </Host>





<Host name="daci123.eicp.net" appBase="webapps" unpackWARs="true" autoDeploy="true" 



xmlValidation="false" xmlNamespaceAware="false">

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" 



pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log." 



suffix=".txt"/>



 



        <Context path="/daciedu" docBase="D:\workspace\eclipseworkspace1\.metadata



\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\daciedu"  reloadable="true" 



debug="0" />

      </Host>
<Connector port="120" protocol="HTTP/1.1"

               connectionTimeout="20000"

               redirectPort="8443"  URIEncoding="UTF-8"/>

 

 

你可能感兴趣的:(tomcat)