我现在在项目里原来访问的是index.jsp,现在程序里需要默认走
xxx.do,然后调到index.jsp
在访问的时候http://localhost:8080/就可以了,不用在http://localhost:8080/xxx.do我现在在项目的web.xml加上
<welcome-file-list>
<welcome-file>xinwen.do?method=chanpin_index</welcome-file>
</welcome-file-list>
还是不行,是我加的地方不对吗
xxx.do,然后调到index.jsp
在访问的时候http://localhost:8080/就可以了,不用在http://localhost:8080/xxx.do我现在在项目的web.xml加上
<welcome-file-list>
<welcome-file>xinwen.do?method=chanpin_index</welcome-file>
</welcome-file-list>
还是不行,是我加的地方不对吗
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货