许多内容是学习时网上查找的,可能没有标记转载或者出处,如有侵权请联系本人,会立刻处理

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"/>

 

 

posted @ 2014-12-05 11:10  紫月er  阅读(352)  评论(0编辑  收藏  举报