文件名称:java-filter
- 所属分类:
- JSP源码/Java
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 491kb
- 下载次数:
- 0次
- 提 供 者:
- 彪*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1、拦截器是基于java的反射机制的,而过滤器是基于函数回调
2、过滤器依赖与servlet容器,而拦截器不依赖与servlet容器
3、拦截器只能对action请求起作用,而过滤器则可以对几乎所有的请求起作用
4、拦截器可以访问action上下文、值栈里的对象,而过滤器不能
5、在action的生命周期中,拦截器可以多次被调用,而过滤器只能在容器初始化时被调用一次
-1, the interceptor is based on java reflection mechanism, while the filter is based on function callbacks
2, the filter depends servlet container interceptor does not depend on the servlet container
3, the interceptor can only action requests work, the filter can work on almost all requests
4, the interceptor can access the action context, object value stack, and the filter can not
5, the life cycle of the action, the interceptor can many times be called, and the filter can only be called once in the container initialization
2、过滤器依赖与servlet容器,而拦截器不依赖与servlet容器
3、拦截器只能对action请求起作用,而过滤器则可以对几乎所有的请求起作用
4、拦截器可以访问action上下文、值栈里的对象,而过滤器不能
5、在action的生命周期中,拦截器可以多次被调用,而过滤器只能在容器初始化时被调用一次
-1, the interceptor is based on java reflection mechanism, while the filter is based on function callbacks
2, the filter depends servlet container interceptor does not depend on the servlet container
3, the interceptor can only action requests work, the filter can work on almost all requests
4, the interceptor can access the action context, object value stack, and the filter can not
5, the life cycle of the action, the interceptor can many times be called, and the filter can only be called once in the container initialization
(系统自动生成,下载前可以参看下载内容)
下载文件列表
java-filter\Servlet 3_0笔记之异步拦截器(async filter)的学习 - Java@Free - BlogJava.mht
...........\Servlet中的过滤器(拦截器)Filter与监听器Listener的作用和区别.mht
...........\Servlet中的过滤器(拦截器)Filter与监听器Listener的作用和区别A.doc
...........\Servlet登陆拦截器_scorpio_新浪博客.mht
...........\java 拦截器和过滤器区别(转载) - - JavaEye技术网站.mht
...........\一路行走一路思考 Servlet 3_0笔记之异步拦截器(async filter)的学习.mht
java-filter
...........\Servlet中的过滤器(拦截器)Filter与监听器Listener的作用和区别.mht
...........\Servlet中的过滤器(拦截器)Filter与监听器Listener的作用和区别A.doc
...........\Servlet登陆拦截器_scorpio_新浪博客.mht
...........\java 拦截器和过滤器区别(转载) - - JavaEye技术网站.mht
...........\一路行走一路思考 Servlet 3_0笔记之异步拦截器(async filter)的学习.mht
java-filter