web項目不想放在tomcat的webapps目錄下的

修改server.xml文件 添加<Context path="指定項目名(/testProject)" docBase="項目部署位置(/test/webapps/testProject)"> </Context>.如下:
相關文章
相關標籤/搜索