您的位置:首页 > 编程语言 > Java开发

spring使用的一些记录

2010-08-12 20:49 239 查看
两种加载方式,如果定义了

<context-param id="ContextParam">
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>


不要再定义

<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: