标签:容器 block list -- work 过程 完成 spring配置 ati
1.web.xml中:
<!-- 加载spring容器 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:spring/applicationContext-*.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener>
从配置文件中,便知道spring在web项目中由监听器ContextLoaderListener加载对应的spring配置文件applicationContext-*.xml完成对spring的启动。
标签:容器 block list -- work 过程 完成 spring配置 ati
原文地址:http://www.cnblogs.com/chxbar/p/7465271.html