为了账号安全,请及时绑定邮箱和手机立即绑定

最最zzzz

为什么会访问到index.jsp,程序中或者浏览器地址栏没有index.jsp

正在回答

1 回答

你打开web.xml   会有

 <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>default.htm</welcome-file>

    <welcome-file>default.jsp</welcome-file>

  </welcome-file-list>

这么一段.如果你不指定文件,它也会默认在这些中匹配,找到就访问  .你可以把这段删掉试试效果.

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号