关于struts2与Spring 的问题我现在想再struts2 拦截器中怎样获得spring中的bean的实例[解决办法]Applicati
关于struts2 与 Spring 的问题
我现在想再 struts2 拦截器中 怎样获得spring中的bean的 实例
[解决办法]
ApplicationContext ac=WebApplicationContextUtils.getWebApplicationContext(servletContext);
Object bean=ac.getBean(name);
