码迷,mamicode.com
首页 > Web开发 > 详细

web.xml中配置struts2过滤器配置

时间:2017-06-03 19:16:18      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:att   bsp   dispatch   ping   ppi   web   过滤器   and   pac   

<!-- struts2 过滤器 -->
 <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>*.action</url-pattern>
    </filter-mapping>

web.xml中配置struts2过滤器配置

标签:att   bsp   dispatch   ping   ppi   web   过滤器   and   pac   

原文地址:http://www.cnblogs.com/huqin/p/6938013.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!