【发布时间】:2011-01-06 21:28:12
【问题描述】:
办公室里有人向我提出了这个奇怪但有趣的问题。
如果我在 web.xml(应用程序文件或容器文件)中有类似的内容
<welcome-file-list>
<welcome-file>something.html</welcome-file>
</welcome-file-list>
并且该东西在子文件夹中有另一个可以使用的页面,所以我更改它...
<welcome-file-list>
<welcome-file>subfolder/something.html</welcome-file>
</welcome-file-list>
¿第二个选项应该有效吗?谢谢!
【问题讨论】:
标签: configuration tomcat6 web.xml