如何将war包部署到tomcat的根目录

2025-03-26 18:47:14
推荐回答(1个)
回答(1):

只需要将war包放到tomcat的webapps目录下即可部署 解压war包,到tomcat的server.xml中增加Context节点,指向war的目录即可。