SSH整合web.xml

来源:互联网 发布:js 定时移动鼠标 编辑:程序博客网 时间:2024/06/08 04:31
<!-- 用于指定Spring配置文件的位置 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>

<!-- 用于加载指定的Spring配置文件,配置文件的位置在<context-param>中指定 -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
原创粉丝点击