标签:
<context-param> :
代码示例:
1 <context-param> 2 <param-name>contextConfigLocation</param-name> 3 <param-value>classpath:spring.xml,classpath:spring-mybatis.xml</param-value> 4 </context-param>
初始化过程:
由上面的初始化过程可知容器对于web.xml的加载过程是context-param >> listener >> fileter >> servlet
标签:
原文地址:http://www.cnblogs.com/xulzong/p/4776346.html