网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
多选题
关于FilterChain的描述,哪一个正确()。
A
如果不呼叫FilterChain的doFilter()方法,则请求略过接下来的过滤器而直接交给Servlet
B
如果有下一个过滤器,呼叫FilterChain的doFilter()方法,会将请求交给下一个过滤器
C
如果没有下一个过滤器,呼叫FilterChain的doFilter()方法,会将请求交给Servlet
D
如果没有下一个过滤器,呼叫FilterChain的doFilter()方法没有作用
参考答案
参考解析
解析:
暂无解析
更多 “多选题关于FilterChain的描述,哪一个正确()。A如果不呼叫FilterChain的doFilter()方法,则请求略过接下来的过滤器而直接交给ServletB如果有下一个过滤器,呼叫FilterChain的doFilter()方法,会将请求交给下一个过滤器C如果没有下一个过滤器,呼叫FilterChain的doFilter()方法,会将请求交给ServletD如果没有下一个过滤器,呼叫FilterChain的doFilter()方法没有作用” 相关考题
考题
下列关于观察法中记录方式的说法哪一个是正确的?()
A.有两种频率记录和等级记录B.有行为核查记录、现象描述记录和图形记录三种C.有行为核查记录、现象描述记录、频率记录和等级记录四种D.A+B均正确
考题
Youwanttocreateafilterforyourwebapplicationandyourfilterwillimplementjavax.servlet.Filter.Which twostatementsaretrue?()
A.Yourfilterclassmustimplementaninitmethodandadestroymethod.B.Yourfilterclassmustalsoimplementjavax.servlet.FilterChain.C.Whenyourfilterchainstothenextfilter,itshouldpassthesameargumentsitreceivedinitsdoFiltermethod.D.Themethodthatyourfilterinvokesontheobjectitreceivedthatimplementsjavax.servlet.FilterChaincaninvokeeitheranotherfilteroraservlet.E.YourfilterclassmustimplementadoFiltermethodthattakes,amongotherthings,anHTTPServletRequestobjectandanHTTPServletResponseobject.
考题
下列说法正确的是()A、Filter接口可以帮助我们在WEB应用中实施过滤技术B、Filter接口拥有Init(FilterConfig filterConfig)方法C、FilterChain是代码的过滤链,通过这个接口把过滤的任务在不同的Filter之间转移D、FilterConfig接口代表了Filter的配置E、FilterChain接口代表了Filter的配置
考题
Which the three are true about servlet filters?()A、 A filter must implement the destroy methodB、 A filter must implement the doFilter methodC、 A servlet may have multiple filters associated with itD、 A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interfaceE、 A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward methodF、 For each element in the web application deployment descriptor, multiple instances of a filter may be created by the web container
考题
Which three are true about servlet filters?()A、A filter must implement the destroy method.B、A filter must implement the doFilter method.C、A servlet may have multiple filters associated with it.D、A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface.E、A filter that is part of a filter chain passes control to the next filter in the chain by invoking the FilterChain.forward method.
考题
单选题在一个Filter中,处理filter的业务的是()方法A
dealFilter(ServletRequest reg,ServletResponse res,FilterChain chain)B
dealFilter(ServletRequest reg,ServletResponse res)C
doFilter(ServletRequest reg,ServletResponse res,FilterChain chain)D
doFilter(ServletRequest reg,ServletResponse res)
考题
多选题Which the three are true about servlet filters?()AA filter must implement the destroy methodBA filter must implement the doFilter methodCA servlet may have multiple filters associated with itDA servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interfaceEA filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward methodFFor each element in the web application deployment descriptor, multiple instances of a filter may be created by the web container
考题
单选题下列关于合力与分力的描述哪一个是正确的()。A
合力一定大于分力B
合力等于分力C
合力不一定大于分力D
合力等于各分力的标量和
热门标签
最新试卷