tomcat更改默认跳转页面
1.conf/server.xml中添加如下代码
<Context path="/" docBase="D:\develop\apache-tomcat-8.5.73\webapps\my_spring_test-1.0-SNAPSHOT" debug="0" reloadable="true"/>
在server.xml中也可修改端口
2.在config/web.xml中添加需要跳转的页面地址
tomcat更改默认跳转页面
1.conf/server.xml中添加如下代码
<Context path="/" docBase="D:\develop\apache-tomcat-8.5.73\webapps\my_spring_test-1.0-SNAPSHOT" debug="0" reloadable="true"/>
在server.xml中也可修改端口
2.在config/web.xml中添加需要跳转的页面地址