`
thinkgem
  • 浏览: 580321 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

在Struts2中方便获得Spring中的Bean方法

    博客分类:
  • Java
阅读更多

FormService formService =  (FormService)WebApplicationContextUtils.getWebApplicationContext(

    ServletActionContext.getServletContext()).getBean("formService");

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics