第十章. 使用其他 Web 框架
41. Spring 提供了两种与 Struts 集成的方式
1) 让你的 Action 继承 org.springframework.web.struts.ActionSupport
2) 将请求委托给作为 Spring Bean 管理的 Struts action 来自理(P312)
42. 为了让 Struts 能访问 Spring 管理的 Bean,必须在 struts-config.xml 中注册一个知道 Spring 上下文的 ContextLoaderPlugIn,用的是 WebApplicationContext:(P312) 阅读全文 >>