tomcat\conf\web.xml,add:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>//首选
<welcome-file>index.htm</welcome-file>//如果没有再选
<welcome-file>index.html</welcome-file>//如果没有再选
</welcome-file-list>
//如果以上都没有,就列出目录(如果允许)
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>//首选
<welcome-file>index.htm</welcome-file>//如果没有再选
<welcome-file>index.html</welcome-file>//如果没有再选
</welcome-file-list>
//如果以上都没有,就列出目录(如果允许)
后綴名jsp要为小写如果还不行,建议重装服务器!
后綴名jsp要为小写如果还不行,建议重装服务器!