itgle.com
更多“单选题Which element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()A classbr/B webappbr/C servletbr/D codebasebr/E servlet-class”相关问题
  • 第1题:

    A developer wants a web application to be notified when the application is about to be shut down. Which two actions are necessary to accomplish this goal?()

    • A、Include a listener directive in a JSP page
    • B、configure a listener in the TLD file using the  element
    • C、Include a  element in the web application deployment descriptor
    • D、configure a listener in the application deployment descriptor, using the  element
    • E、Include a class implementing ServletContextListener as part of the web application deploymen

    正确答案:D,E

  • 第2题:

    Which three are described in the standard web application deployment descriptor?()  

    • A、 session configuration
    • B、 MIME type mappings
    • C、 context root for the application
    • D、 servlet instance pool configuration
    • E、 web container default port bindings
    • F、 ServletContext initialization parameters

    正确答案:A,B,F

  • 第3题:

    Which is the true choice about the web container request processing model()?

    • 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

    正确答案:C

  • 第4题:

    Which two security mechanisms can be directed through a sub-element of the element in a web application deployment descriptor?()

    • A、Authorization
    • B、Data integrity
    • C、Confidentiality
    • D、Authentication

    正确答案:B,C

  • 第5题:

    Which element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()

    • A、<class><br/>
    • B、<webapp><br/>
    • C、<servlet><br/>
    • D、<codebase><br/>
    • E、<servlet-class>

    正确答案:E

  • 第6题:

    Which element, defined as a child of a  element in the web application deployment descriptor, guarantees a servlet will be initialized at the time the application is deployed?() 

    • A、 <load-on-startup/> 
    • B、 <load-on-startup>1</load-on-startup> 
    • C、 <load-on-startup>-1</load-on-startup> 
    • D、 <load-on-startup>true</load-on-startup>

    正确答案:B

  • 第7题:

    单选题
    Which element is the parent of the  tag in the web application deployment descriptor? ()
    A

     <web-app> 

    B

     <filters> 

    C

     <servlet> 

    D

     <filter-list> 


    正确答案: B
    解析: 暂无解析

  • 第8题:

    单选题
    Which element, defined as a child of a  element in the web application deployment descriptor, guarantees a servlet will be initialized at the time the application is deployed?()
    A

     <load-on-startup/> 

    B

     <load-on-startup>1</load-on-startup> 

    C

     <load-on-startup>-1</load-on-startup> 

    D

     <load-on-startup>true</load-on-startup>


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    Which element of a web application deployment descriptor  element is required()?
    A

     <realm-name> 

    B

     <auth-method> 

    C

     <security-role> 

    D

     <transport-guarantee> 

    E

     <web-resource-collection>


    正确答案: B
    解析: 暂无解析

  • 第10题:

    多选题
    Which the 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

    F

    For each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container


    正确答案: E,B
    解析: 暂无解析

  • 第11题:

    多选题
    Which two are valid values for the  element inside a  element of a web application deployment descriptor?()
    A

    NULL

    B

    SECURE

    C

    INTEGRAL

    D

    ENCRYPTED

    E

    CONFIDENTIAL


    正确答案: C,E
    解析: 暂无解析

  • 第12题:

    单选题
    Which defines the welcome files in a web application deployment descriptor?()
    A

    A

    B

    B

    C

    C

    D

    D

    E

    E


    正确答案: B
    解析: 暂无解析

  • 第13题:

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

    正确答案:A,B,C

  • 第14题:

    Which three are described in the standard web application deployment descriptor?()

    • A、session configuration
    • B、MIME type mappings
    • C、context root for the application
    • D、servlet instance pool configuration
    • E、web container default port bindings
    • F、Servlet Context initialization parameters

    正确答案:A,B,F

  • 第15题:

    Which element is the parent of the  tag in the web application deployment descriptor? ()

    • A、 <web-app> 
    • B、 <filters> 
    • C、 <servlet> 
    • D、 <filter-list> 

    正确答案:A

  • 第16题:

    Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()

    • A、 FORM
    • B、 DIGEST
    • C、 NORMAL
    • D、 ENCRYPTED
    • E、 CLIENT-CERT

    正确答案:A,B,E

  • 第17题:

    Which two are valid values for the  element inside a  element ofa web application deployment descriptor?()

    • A、NULL
    • B、SECURE
    • C、INTEGRAL
    • D、ENCRYPTED
    • E、CONFIDENTIAL

    正确答案:C,E

  • 第18题:

    Which is true about the web container request processing model?()

    • 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.

    正确答案:C

  • 第19题:

    单选题
    Which is the true choice about the web container request processing model()?
    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
    解析: 暂无解析

  • 第20题:

    单选题
    Which element of a web application deployment descriptor  element is required?()
    A

    <realm-name>

    B

    <auth-method>

    C

    <security-role>

    D

    <transport-guarantee>

    E

    <web-resource-collection>


    正确答案: D
    解析: 暂无解析

  • 第21题:

    多选题
    Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()
    A

    FORM

    B

    DIGEST

    C

    NORMAL

    D

    ENCRYPTED

    E

    CLIENT-CERT


    正确答案: A,D
    解析: 暂无解析

  • 第22题:

    单选题
    Within the web application deployment descriptor, which defines a valid JNDI environment entry()
    A

    A

    B

    B

    C

    C

    D

    D


    正确答案: A
    解析: 暂无解析

  • 第23题:

    单选题
    Within a web application deployment descriptor, which maps the com.example.LoginServlet servlet to /utils/LoginServlet?()
    A

    A

    B

    B

    C

    C

    D

    D


    正确答案: D
    解析: 暂无解析