![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springMVC
iteye_5266
这个作者很懒,什么都没留下…
展开
-
springMVC在Controller中获取WebApplicationContext
1、applicationContext 在web.xml中使用listener配置 <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext.xml</param-valu...原创 2013-10-16 13:03:25 · 281 阅读 · 0 评论 -
springMVC+Mybatis多数据源配置
每个MapperScannerConfigurer配置添加属性节点 <property name="sqlSessionFactory" ref="SqlSessionFactory01"></property> ,ref引入相应的会话工厂bean。 <!--01 oracle database config--> <...2015-04-20 11:51:57 · 103 阅读 · 0 评论