`

struts2和spring整合时注意

 
阅读更多
在把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>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics