会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
apache-xinge
博客园
首页
新随笔
联系
管理
订阅
2016年11月16日
获取aplicationContext对象,从而获取任何注入的对象
摘要: 在Servlet中 方法一: 从ServletContext 取出 Spring容器上下文 ApplicationContext applicationContext = (ApplicationContext) this.getServletContext().getAttribute(WebAp
阅读全文
posted @ 2016-11-16 20:28 apache-xinge
阅读(514)
评论(0)
推荐(0)
编辑
公告