Eclipse 中 tomcat项目  修改发布项目路径

运行一个web项目,

Eclipse 中 tomcat项目  修改发布项目路径

运行后访问路径为   localhost:8080/+项目名称 如:  localhost:8080/A

如果想要修改访问路径可以

1 右键项目 properties

2 Web Project Setting

3 修改Context root 为  B

 

修改成功后,从tomcat中移除该项目,重新发布

此时  访问 localhost:8080/B 就可以放问到该项目

 

 

 

 

相关文章:

  • 2021-06-06
  • 2021-11-26
  • 2022-01-21
  • 2021-09-30
  • 2022-01-14
  • 2021-12-24
  • 2021-10-30
猜你喜欢
  • 2021-12-26
  • 2021-06-08
  • 2021-06-23
  • 2022-01-09
  • 2021-12-30
  • 2021-12-15
相关资源
相似解决方案