首页 > 学院 > 开发设计 > 正文

Tomcat自定义源码路径和编译并运行

2019-11-10 18:22:41
字体:
来源:转载
供稿:网友
修改appbase为项目源码的项目路径path为访问路径,可为空docbase为项目编译后路径<Host name="localhost" path="" appBase="D:/myeclipsePRoject/dcArchk"unpackWARs="true" autoDeploy="true"><Context path="" docBase="D:/myeclipseproject/dcArchk/WebRoot" reloadable="true"></Context><!-- SingleSignOn valve, share authentication between web applicationsDocumentation at: /docs/config/valve.html --><!--<Valve className="org.apache.catalina.authenticator.SingleSignOn" />--><!-- access log processes all example.Documentation at: /docs/config/valve.htmlNote: 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>
上一篇:面向过程(3)

下一篇:最大乘积

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表