1 打开 myclipse
2 最顶层项目上右键,Refactor,新名,
3 最顶层项目上右键,propterties, MyEclipse, Web, context-root: /新名
4 替换 .css, .js, .jsp 中全部的 "/旧名/"
5 修改apache的配置, /etc/httpd/conf/httpd.conf
ProxyPass /新名/ http://111.111.111.111:8080/新名/
ProxyPassReverse /新名/ http://111.111.111.111:8080/新名/
重启 apache
6 重新部署
时间: 2024-10-12 17:26:46