
2条回答 默认 最新
DavidLee9 2020-07-08 18:37关注项目默认会访问web.xml下的欢迎界面,依次寻找,如果都没有找到会报404
<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list>1.去tomcat webpath下看看有没有项目
2.右击项目properties查看web project setting中context root是不是/homework解决 无用评论 打赏 举报