前端项目部署在tomcat


需在server.xml中进行配置

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

  <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" />
    <Context path="/chat" docBase="../webapps/irobot.war" reloadable="true" source="org.eclipse.jst.jee.server:tsj-spring"/>
    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\HCS_ROBOT" path="" debug="0" reloadable="true"/>
    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\easyUI" path="/easyUI" debug="0" reloadable="true"/>
    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\assistant" path="/assistant" debug="0" reloadable="true"/>
    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\ADdesign" path="/ADdesign" debug="0" reloadable="true"/>

</Host>


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM