spring2.5核心包中 没有spring2.0中的org.springframework.web.struts.DelegatingRequestProcessor类,从而造成不能在spring中注入Action
原因是spring2.0版本中的org.springframework.web.struts包放在了spring-framework-2.5.6\dist\modules\spring-webmvc-struts.jar里面了
所以只要把spring-framework-2.5.6\dist\modules\spring-webmvc-struts.jar包引入你的项目就可以注入action了。
原因是spring2.0版本中的org.springframework.web.struts包放在了spring-framework-2.5.6\dist\modules\spring-webmvc-struts.jar里面了
所以只要把spring-framework-2.5.6\dist\modules\spring-webmvc-struts.jar包引入你的项目就可以注入action了。