web.xml配置文件里有一项是设置这个的<welcome-file-list>
<welcome-file>xxxxx.jsp</welcome-file>
<welcome-file>xxxxx.html</welcome-file>
:
:
</welcome-file-list>
<welcome-file>xxxxx.jsp</welcome-file>
<welcome-file>xxxxx.html</welcome-file>
:
:
</welcome-file-list>
index_jsp.class在里面
或者修改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-list>
改成你自己的jsp的名字
<welcome-file>E:\JSP src\WHBuildWeb\index.jsp</welcome-file>后还是那只猫耶!
怎么回事?
原来大家也有这样的问题呀
------------------------------
我把root下的“index.jsp”改成“index1.jsp”,重启Tomcat
还是那只猫!!!
------------------------------
把root下index.jsp及图片删除
猫没了,还在,只是图片那没了猫