首页 > 编程语言 > 详细

struts2集成spring

时间:2014-09-27 19:54:41      阅读:319      评论:0      收藏:0      [点我收藏+]

1.在web.xml中加入以下配置 该配置可以在spring手册15.2章中找到

 

<!-- 配置spring的用于容器初始化的监听对象 -->
<
listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext*.xml</param-value> </context-param>

2.加入struts2-spring-plugin-2.3.16.1.jar

struts2集成spring

原文:http://www.cnblogs.com/zhangjie9142/p/3997055.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!