在把struts2和spring的依赖包放到lib下面之后,另外加一个struts2-spring-plugin-2.3.14.3.jar
加入这个包必须要在web.xml中配置(哪怕你只是使用struts2):
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
struts2和spring整合时注意
猜你喜欢
转载自huzhanchi.iteye.com/blog/2070301
今日推荐
周排行