Q:为什么我不能访问index.jsp直接就是404
A:在web.xml中添加:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
A:在web.xml中添加:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
2016-07-12
已采纳回答 / 木刻雪原
application.getAttributeNames(),属于java.util.*包下的方法,这个方法用于返回所有的application变量,返回类型为Enumeration类型。
2016-07-10
已采纳回答 / 大咪
<...图片...><...图片...><...图片...>按照这个顺序试试,因为我也用的是eclipse写的,中间那个图是第一个图,然后是上边那个图是二个,最后那个图是代码
2016-07-09