首页 > Web开发 > 详细

转载:spring ,struct2 在 web.xml中的配置

时间:2014-02-11 19:37:41      阅读:404      评论:0      收藏:0      [点我收藏+]

转载网址:http://blog.sina.com.cn/s/blog_4c6e822d0102dv63.html

<!-- Struts2 need begin-->
  <filter>
   <filter-name>struts2</filter-name>
   <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
  </filter>
  <filter-mapping>
   <filter-name>struts2</filter-name>
   <url-pattern>/*</url-pattern>
  </filter-mapping>
  <!-- Struts2 need end-->
 
  <!-- Spring need begin -->
  <listener>
   <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  <context-param>
   <param-name>contextConfigLocation</param-name>
   <param-value>/WEB-INF/applicationContext-core.xml</param-value>
  </context-param>
  <!-- Spring need end -->

转载:spring ,struct2 在 web.xml中的配置

原文:http://www.cnblogs.com/lraa/p/3544382.html

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