1、欢迎页面怎么设置?
* 假设在WebContent目录下创建login.html,想让login.html作为整个webapp的欢迎页面,应该做这样的设置,编写web.xml文件:
<!--欢迎页面的设置-->
<welcome-file-list>
<welcome-file>login.html</welcome-file>
</welcome-file-list>
2、为什么要设置欢迎页面?
* 为了访问方便,为了提高用户的体验。
3、欢迎页面可以设置多个,越靠上面的优先级越高
<!--欢迎页面的设置-->
<wel