多项选择题X 纠错

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
F. For each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container

参考答案:
查答案就用赞题库小程序 还有拍照搜题 语音搜题 快来试试吧
无需下载 立即使用

你可能喜欢

单项选择题

A. The attribute foo is placed in the application
B. A ServletContextListener registered for that servlet is notified
C. A ServletAttributeListener registered for that servlet is notified
D. An HttpSessionAttributeListener registered for that servlet is notified

单项选择题

A. The init method on a filter is called the first time a servlet mapped to that filter is invoked
B. A filter defined for a servlet must always forward control to the next resource in the filter chain.
C. Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file
D. If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it

多项选择题

A. A web application may override the web container’s implementation classes
B. A web application running in a J2EE product may override classes in the javax.* namespace
C. A web application class loader may NOT override any classes in the java.* and javax.*  namespace
D. Resources in the WAR class directory or in any of the JAR files within the library directory may  be accessed using the J2SE semantics of getResource
E. Resources in the WAR class directory or in any of the JAR files within the library directory  cannot be accessed using the J2SE semantics of getResource

单项选择题

A. /conf/web.xml
B. /WEB-INF/web.xml
C. /conf/server.xml
D. /META-INF/web.xml
E. /WEB-INF/rules.xml
F. /META-INF/server. Xml

多项选择题

A. Line 13 is not valid for a servlet declaration
B. Line 14 is not valid for a servlet declaration
C. One instance of the servlet will be loaded at startup
D. Ten instance of the servlet will be loaded at start up
E. the servlet will be referenced by the name catalog in mappings

单项选择题

A. j_user and j_id
B. j_id and j_password
C. j_users and j_password
D. j_user and j_password
E. j_login and j_password
F. j_username and j_password

单项选择题

A. Create a user called vip in the security realm
B. Define a group within the security realm and call it vip
C. Define a security-role named vip in the development descriptor
D. Declare a security-role-ref for vip in the deployment descriptor

多项选择题

A. HTTP Basic Authentication
B. Form Based Authentication
C. HTTP Digest Authentication
D. HTTPS Client Authentication

赞题库

赞题库-搜题找答案

(已有500万+用户使用)


  • 历年真题

  • 章节练习

  • 每日一练

  • 高频考题

  • 错题收藏

  • 在线模考

  • 提分密卷

  • 模拟试题

无需下载 立即使用

版权所有©考试资料网(ppkao.com)All Rights Reserved