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

<filter-mapping> 的 <dispatcher> 的作用

时间:2016-08-06 08:30:22      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

The dispatcher has four legal values: FORWARD, REQUEST, INCLUDE,
and ERROR. A value of FORWARD means the Filter will be applied
under RequestDispatcher.forward() calls. A value of REQUEST
means the Filter will be applied under ordinary client calls to
the path or servlet. A value of INCLUDE means the Filter will be
applied under RequestDispatcher.include() calls. A value of
ERROR means the Filter will be applied under the error page
mechanism. The absence of any dispatcher elements in a
filter-mapping indicates a default of applying filters only under
ordinary client calls to the path or servlet.

<filter-mapping> 的 <dispatcher> 的作用

标签:

原文地址:http://www.cnblogs.com/zno2/p/4895075.html

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