关于FilterChain的描述,哪一个正确()。
第1题:
关于用户来电接通后,马上断线的操作正确的是?()
第2题:
在编写过滤器时,需要完成的方法是()。
第3题:
在一个Filter中,处理filter的业务的是()方法
第4题:
当用户在struts.xml文件中需要包含其它配置文件时,使用的元素是()
第5题:
在Filter过滤器的生命周期方法中,每当传递请求或响应时,web容器会调用()方法。
第6题:
在Java Web应用过滤器的生命周期方法中,每当传递请求或响应时,web容器会调用()方法。
第7题:
有关过滤器init( )方法错误的是()。
第8题:
Given a Filter class definition with this method: 21.public void doFilter(ServletRequest request, 22.ServletResponse response, 23.FilterChain chain) 24.throws ServletException, IOException { 25.// insert code here26. } Which should you insert at line 25 to properly invoke the next filter in the chain,or the target servlet if thereare no more filters?()
第9题:
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
第10题:
Your filter class must implement an init method and a destroy method.
Your filter class must also implement javax.servlet.FilterChain.
When your filter chains to the next filter, it should pass the same arguments it received in its doFiltermethod.
The method that your filter invokes on the object it received that implements javax.servlet.FilterChaincan invoke either another filter or a servlet.
Your filter class must implement a doFilter method that takes, among other things, anHTTPServletRequest object and an HTTPServletResponse object.
第11题:
Filter接口定义了init()、service()与destroy()方法
会传入ServletRequest与ServletResponse至Filter
要执行下一个过滤器,必须执行FilterChaing的next()方法
如果要取得初始参数,要使用FilterConfig对象内容
第12题:
chain.forward(request, response);
chain.doFilter(request, response);
request.forward(request, response);
request.doFilter(request, response);
第13题:
关于过滤器的描述,以下哪一个正确()。
第14题:
下列说法正确的是()
第15题:
Which the three are true about servlet filters?()
第16题:
在一个Filter中,处理filter业务的是()方法。
第17题:
过滤器使用()才能继续传递到下一个过滤器。
第18题:
过滤器的生命周期可用它的三个方法表示,即()。
第19题:
如果过滤器发生堵塞现象,则过滤器进出口的温度是不同的。()
第20题:
Which three are true about servlet filters?()
第21题:
dealFilter(ServletRequest reg,ServletResponse res,FilterChain chain)
dealFilter(ServletRequest reg,ServletResponse res)
doFilter(ServletRequest reg,ServletResponse res,FilterChain chain)
doFilter(ServletRequest reg,ServletResponse res)
第22题:
request.getRequestDispatcher().forward(request,response)
doFilter()
doPut()
doChain()
第23题:
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