网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列说法正确的是()

  • A、Filter接口可以帮助我们在WEB应用中实施过滤技术
  • B、Filter接口拥有Init(FilterConfig filterConfig)方法
  • C、FilterChain是代码的过滤链,通过这个接口把过滤的任务在不同的Filter之间转移
  • D、FilterConfig接口代表了Filter的配置
  • E、FilterChain接口代表了Filter的配置

参考答案

更多 “下列说法正确的是()A、Filter接口可以帮助我们在WEB应用中实施过滤技术B、Filter接口拥有Init(FilterConfig filterConfig)方法C、FilterChain是代码的过滤链,通过这个接口把过滤的任务在不同的Filter之间转移D、FilterConfig接口代表了Filter的配置E、FilterChain接口代表了Filter的配置” 相关考题
考题 关于ServletFilter,下列说法正确的有() A.Filter其实就是一个ServletB.Filter可以产生responseC.Filter可以在Servlet被调用之前截获requestD.Filter可以哟活过来处理统一认证,过滤不雅字句等

考题 关于filter-polic过滤RIP路由,以下哪些说法是正确的?()A、可以通过配置ACL对RIP路由进行过滤B、可以通过IP地址前缀列表对RIP路由进行过滤C、可以通过发布网关对路由信息进行过滤D、可以通过接口对路由信息进行过滤

考题 关于过滤器的描述,以下哪一个正确()。A、Filter接口定义了init()、service()与destroy()方法B、会传入ServletRequest与ServletResponse至FilterC、要执行下一个过滤器,必须执行FilterChaing的next()方法D、如果要取得初始参数,要使用FilterConfig对象内容

考题 编写一个Filter,需要()。A、继承Filter类B、实现Filter接口C、继承HttpFilter类D、实现HttpFilter接口

考题 在JAVA EE中,使用Servlet过滤器时,需要在web.xml通过()元素将过滤器映射到Web资源。A、〈filter〉B、〈filter-mapping〉C、〈servlet〉D、〈servlet-mapping〉

考题 Servlet可以通过以下哪个接口实现请求转发机制?()A、HttpServletRequest接口B、RequestDispatcher接口C、HttpServletResponse接口D、ServletConfig接口E、Filter接口

考题 下面哪项交换机的功能能实现关闭正在接受BPDU且配置了PortFast接口?()A、 BackboneFastB、 UplinkFastC、 Root GuardD、 BPDU GuardE、 BPDU Filter

考题 在一个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?()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

考题 关于Servlet Filter,下列说法正确的有() A、Filter其实就是一个ServletB、Filter可以产生responseC、Filter可以在Servlet被调用之前截获requestD、Filter可以哟活过来处理统一认证,过滤不雅字句等

考题 在J2EE中使用Servlet过滤器时,可以在web.xml文件的()元素中包括<init-param>元素。A、<filter>B、<filter-mapping>C、<filter-name>D、<filter-class>

考题 关于filter-polic过滤器,以下哪些说法不正确?()A、可以在RIP中使用filter-polic对从邻居接受的RIP路由信息进行过滤B、可以在RIP中使用filter-polic对发送给邻居的整个IP路由表进行过滤C、可以在IS-IS中使用filter-polic对从邻居接收的IS-IS路由信息进行过滤D、可以在OSPF中使用filter-polic对LSA计算出来的OSPF路由信息进行过滤

考题 Servlet通过()可以实现请求转发机制。A、HttpServletRequest接口B、RequestDispatcher接口C、HttpServletResponse接口D、ServletConfig接口E、Filter接口

考题 在J2EE中,使用Servlet过滤器时,可以在web.xml文件的()元素中包括元素。A、filterB、filter-classC、filter-nameD、filter-mapping

考题 在JAVA EE中,使用Servlet过滤器时,可以在web.xml文件的()元素中包括〈init-param〉元素。A、〈filter〉B、〈filter-mapping〉C、〈filter-name〉D、〈filter-class〉

考题 在J2EE中,在web.xml中定义过滤器时可以指定初始化参数,以下定义正确的是()。A、filter-mappingfilter-namesomeFilter/filter-nameinit-paramB、filter-mappingfilter-namesomeFilter/filter-nameC、filterfilter-namesomeFilter/filter-nameD、filterfiter-namesomeFilter/filter-nameinit-param

考题 有关过滤器init( )方法错误的是()。A、每次调用过滤器时都会执行init方法B、init方法可以访问FilterConfig对象。FilterConfig对象提供了对servlet环境及web.xml文件中指派的过滤器名的访问C、利用init将FilterConfig对象存放在一个字段中,以便doFilter方法能够访问servlet环境或过滤器名D、FilterConfig对象具有一个getInitParameter方法,它能够访问部署描述符文件(web.xml)中分配的过滤器的初始化参数

考题 以下配置邮件主题过滤关键字错误的是()。A、firewall smtp-filter subject add*B、firewall smtp-filter subject add*hello*C、firewall smtp-filter subject addhel loD、firewall smtp-filter subject add"hel lo"

考题 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.

考题 You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()A、Your filter class must implement an init method and a destroy method.B、Your filter class must also implement javax.servlet.FilterChain.C、When your filter chains to the next filter, it should pass the same arguments it received in its doFiltermethod.D、The method that your filter invokes on the object it received that implements javax.servlet.FilterChaincan invoke either another filter or a servlet.E、Your filter class must implement a doFilter method that takes, among other things, anHTTPServletRequest object and an HTTPServletResponse object.

考题 多选题以下配置邮件主题过滤关键字错误的是()。Afirewall smtp-filter subject add*Bfirewall smtp-filter subject add*hello*Cfirewall smtp-filter subject addhel loDfirewall smtp-filter subject addhel lo

考题 多选题You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()AYour filter class must implement an init method and a destroy method.BYour filter class must also implement javax.servlet.FilterChain.CWhen your filter chains to the next filter, it should pass the same arguments it received in its doFiltermethod.DThe method that your filter invokes on the object it received that implements javax.servlet.FilterChaincan invoke either another filter or a servlet.EYour filter class must implement a doFilter method that takes, among other things, anHTTPServletRequest object and an HTTPServletResponse object.

考题 单选题编写一个Filter,需要()。A 继承Filter类B 实现Filter接口C 继承HttpFilter类D 实现HttpFilter接口

考题 多选题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

考题 单选题在JAVA EE中,使用Servlet过滤器时,可以在web.xml文件的()元素中包括〈init-param〉元素。A 〈filter〉B 〈filter-mapping〉C 〈filter-name〉D 〈filter-class〉

考题 多选题下列说法正确的是()AFilter接口可以帮助我们在WEB应用中实施过滤技术BFilter接口拥有Init(FilterConfig filterConfig)方法CFilterChain是代码的过滤链,通过这个接口把过滤的任务在不同的Filter之间转移DFilterConfig接口代表了Filter的配置EFilterChain接口代表了Filter的配置

考题 单选题在J2EE中使用Servlet过滤器时,可以在web.xml文件的()元素中包括<init-param>元素。A <filter>B <filter-mapping>C <filter-name>D <filter-class>