关于Servlet Filter,下列说法正确的有()
第1题:
以下有关自定义servlet、filter错误的是()
第2题:
在JAVA EE中,使用Servlet过滤器时,需要在web.xml通过()元素将过滤器映射到Web资源。
第3题:
Which the three are true about servlet filters?()
第4题:
关于filter-polic过滤器,以下哪些说法不正确?()
第5题:
Servlet通过()可以实现请求转发机制。
第6题:
在JAVA EE中,使用Servlet过滤器时,可以在web.xml文件的()元素中包括〈init-param〉元素。
第7题:
Which three are true about servlet filters?()
第8题:
Which is true about the web container request processing model?()
第9题:
The init method on a filter is called the first time a servlet mapped to that filter is invoked.
A filter defined for a servlet must always forward control to the next resource in the filter chain.
Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file.
If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it.
第10题:
A filter must implement the destroy method
A filter must implement the doFilter method
A servlet may have multiple filters associated with it
A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface
A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward method
For each
第11题:
〈filter〉
〈filter-mapping〉
〈filter-name〉
〈filter-class〉
第12题:
<filter>
<filter-mapping>
<filter-name>
<filter-class>
第13题:
下列说法正确的是()
第14题:
Given the web application deployment descriptor elements: 11.
第15题:
在J2EE中使用Servlet过滤器时,可以在web.xml文件的()元素中包括<init-param>元素。
第16题:
Which is the true choice about the web container request processing model()?
第17题:
在J2EE中,使用Servlet过滤器时,可以在web.xml文件的()元素中包括
第18题:
在J2EE中,在web.xml中定义过滤器时可以指定初始化参数,以下定义正确的是()。
第19题:
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
第20题:
A filter must implement the destroy method.
A filter must implement the doFilter method.
A servlet may have multiple filters associated with it.
A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface.
A filter that is part of a filter chain passes control to the next filter in the chain by invoking the FilterChain.forward method.
第21题:
Filter其实就是一个Servlet
Filter可以产生response
Filter可以在Servlet被调用之前截获request
Filter可以哟活过来处理统一认证,过滤不雅字句等
第22题:
〈filter〉
〈filter-mapping〉
〈servlet〉
〈servlet-mapping〉
第23题:
Filter接口可以帮助我们在WEB应用中实施过滤技术
Filter接口拥有Init(FilterConfig filterConfig)方法
FilterChain是代码的过滤链,通过这个接口把过滤的任务在不同的Filter之间转移
FilterConfig接口代表了Filter的配置
FilterChain接口代表了Filter的配置