超全面的JavaWeb笔记day21<过滤器>

 1、过滤器的原理  2、实现过滤器    写一个类实现javax.servlet.Filter接口    在web.xml中对Filter进行配置  3、Filter接口    void init(FilterConfig):在创建之后马上执行。在tomcat启动时创建    void doFilter(ServletRequest,ServletResponse, FilterChain):每
相关文章
相关标签/搜索