tomcat目錄結(jié)構(gòu)詳解 如何在tomcat中配置站點(diǎn)的子目錄?
如何在tomcat中配置站點(diǎn)的子目錄?在tomcat目錄中找到config下面的server.xml打開找到: <Host name="localhost" appBase="webapps"
如何在tomcat中配置站點(diǎn)的子目錄?
在tomcat目錄中找到config下面的server.xml打開找到: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <!-- SingleSignOn valve, share authentication between web applications Documentation at: /docs/config/valve.html --> <!-- <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> -->將webapps修改成你的項(xiàng)目位置即可