首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

web中运用beanRefContext.xml的方式加载spring

2012-08-15 
web中使用beanRefContext.xml的方式加载spring步骤1、将beanRefContext.context-paramparam-namelocato

web中使用beanRefContext.xml的方式加载spring

步骤1、
将beanRefContext.<context-param> <param-name>locatorFactorySelector</param-name> <param-value>classpath:beanRefContext.xml</param-value></context-param><context-param> <param-name>parentContextKey</param-name> <param-value>businessBeanFactory</param-value></context-param><context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext.xml</param-value></context-param><listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener>

?

?

。。

热点排行