随笔-11  评论-0  文章-2  trackbacks-0
  2013年8月8日
  1. <%  
  2. WebApplicationContext context = (WebApplicationContext)this.getServletContext().getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);  
  3. TestService service = (TestService)context.getBean("testService");  
  4. %> 
posted @ 2013-08-08 14:48 邦 阅读(185) | 评论 (0)编辑 收藏