在Struts2中方便获得Spring中的Bean方法
FormService formService =? (FormService)WebApplicationContextUtils.getWebApplicationContext(
??? ServletActionContext.getServletContext()).getBean("formService");