<!--初始化Spring容器,启动并解析Spring的配置 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<!--多个spring配置文件可用逗号隔开 -->
<param-value>/WEB-INF/spring/* </param-value>
</context-param>
<!-- 配置Spring监听,新建BeanFactory接口的实例-->
<listener>
<listener-class> org.springframework.web.context.ContextLoaderListener </listener-class>
</listener>