关于web.xml中的疑问
jswdw 2008-07-27 03:35:47 请问各位<welcome-file-list>中的<welcome-file>标签部分除了放具体的jsp或html页面(例如下)
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
外能不能放一个请求在里面?(例如下)
<welcome-file-list>
<welcome-file>index.do</welcome-file>
</welcome-file-list>
我用spring MVC,按照以下配置
<welcome-file-list>
<welcome-file>index.do</welcome-file>
</welcome-file-list>
启动服务器,终是报404错误,但我在地址栏手工加入index.do时,页面正常显示,这是为什么,是不是服务器不支持这样的写法(index.do)????如果支持应该如何写????