在Struts2中方便获得Spring中的Bean方法
FormService formService =? (FormService)WebApplicationContextUtils.getWebApplicationContext(
??? ServletActionContext.getServletContext()).getBean("formService");
发布时间: 2012-10-26 10:30:59 作者: rapoo
在Struts2中方便获得Spring中的Bean方法
FormService formService =? (FormService)WebApplicationContextUtils.getWebApplicationContext(
??? ServletActionContext.getServletContext()).getBean("formService");