servlet
ccssddnnbbookkee
这个作者很懒,什么都没留下…
展开
-
javax.servlet.AsyncContext
public interface AsyncContextClass representing the execution context for an asynchronous operation that was initiated on a ServletRequest.(对每一个ServletRequest的每个异步操作都有一个AsyncContext?还是一个ServletRequest只转载 2015-05-17 11:04:47 · 2610 阅读 · 0 评论 -
Servlet中的过滤器Filter详解
web.xml中元素执行的顺序listener->filter->struts拦截器->servlet。1.过滤器的概念Java中的Filter并不是一个标准的Servlet ,它不能处理用户请求,也不能对客户端生成响应。 主要用于对HttpServletRequest进行预处理,也可以对HttpServletResponse进行后处理,是个典型的处理链。 优点:过滤链的好处是,执行过程中任何时候转载 2015-08-24 10:07:07 · 565 阅读 · 0 评论