获取Spring的应用上下文ApplicationContext
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
ServletContext context = request.getSession().getServletContext();
ApplicationCon...
原创
2013-11-20 16:57:21 ·
251 阅读 ·
0 评论