java web.xml welcome-file-list的默认值
分类:java web.xml welcome-file-listJava 技术
java
welcome list file是java web中的起始欢迎页面,用于只输入ip和端口和web-inf的目录路径制定跳转的页面。
如果在web.xml welcome-file-list指定中有welcome-file则会跳转至相应的页面。
如果web.xml中没有welcome-file-list节点(tomcat和jetty服务器)会跳转到index.html页面,,如果没有index.html会跳转到index.jsp
如果两者都没有会默认展示WEB-INF下的目录结构
上一篇log4j logger,Threshold,additivity细节注意
顶0踩0
不要因为世态变迁而埋怨,不要因为命运多舛而怨恨.