仪器社区

为action配置过滤器

lmr1014672556 2013-10-29
我为action配置了一个过滤器,web.xml配置如下: SetCodeFilter sheng.util.SetCodeFilter SetCodeFil... 我为action配置了一个过滤器,web.xml配置如下: SetCodeFilter sheng.util.SetCodeFilter SetCodeFilter *.action *.jsp struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* 并在过滤器以及action中进行了打印,从打印上看出,过滤器老是在action执行之后,才进入的,谁能为我解答下?下面是输出: exist //action里的输出 filter```` //filter里的输出
评论
全部评论
安迪640
action提交的时候不是xxx.action的形式吧
9 0 2013-10-30 0条评论 回复
您可能感兴趣的社区主题
加载中...
发布 评论