<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
</servlet>
<welcome-file-list>
<welcome-file>index.html </welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<welcome-file-list>
配置是默认项目的访问页面。
这个例子的顺序是:index.html->
index.htm->
index.jsp
<load-on-startup>
配置是加载顺序,按升序排列
<load-on-startup>0</load-on-startup>
<load-on-startup>1</load-on-startup>