读书人

web中运用beanRefContext.xml的方式加

发布时间: 2012-08-15 16:57:17 作者: rapoo

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>

?

?

。。

读书人网 >Web前端

热点推荐