多选题Which two are required elements for the  element of a web applicationdeployment descriptor?()A<realm-name>B<url-pattern>C<description>D<web-resource-name>E<transport-guarantee>

题目
多选题
Which two are required elements for the  element of a web applicationdeployment descriptor?()
A

<realm-name>

B

<url-pattern>

C

<description>

D

<web-resource-name>

E

<transport-guarantee>


相似考题
更多“多选题Which two are required elements for the  element of a web applicationdeployment descriptor?()Arealm-nameBurl-patternCdescriptionDweb-resource-nameEtransport-guarantee”相关问题
  • 第1题:

    Which two actions protect a resource file from direct HTTP access within a web application?()

    • A、Placing it in the /secure directory
    • B、Placing it in the /WEB-INF directory
    • C、Placing it in the /META-INF/secure directory
    • D、Creating a  element within the deployment descriptor

    正确答案:B,C

  • 第2题:

    Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains: foo frodo Which two are true?()

    • A、The foo initialization parameter CANNOT be set programmatically.
    • B、Compilation fails because getInitParameter returns type Object.
    • C、The foo initialization parameter is NOT a servlet initialization parameter.
    • D、Compilation fails because ServletContext does NOT have a getInitParameter method.
    • E、The foo parameter must be defined within the  element of the deployment descriptor.

    正确答案:A,C

  • 第3题:

    Which security mechanism can be directed through the  element in a web deployment descriptor()?

    • A、 authorization
    • B、 data integrity
    • C、 confidentiality
    • D、 authentication

    正确答案:D

  • 第4题:

    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

  • 第5题:

    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

  • 第6题:

    单选题
    Which security mechanism can be directed through the  element in a web deployment descriptor()?
    A

     authorization

    B

     data integrity

    C

     confidentiality

    D

     authentication


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

  • 第7题:

    多选题
    Which two are required elements for the  element of a web applicationdeployment descriptor?()
    A

    <realm-name>

    B

    <url-pattern>

    C

    <description>

    D

    <web-resource-name>

    E

    <transport-guarantee>


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

  • 第8题:

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


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

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


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

  • 第10题:

    多选题
    Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains: foo frodo Which two are true?()
    A

    The foo initialization parameter CANNOT be set programmatically.

    B

    Compilation fails because getInitParameter returns type Object.

    C

    The foo initialization parameter is NOT a servlet initialization parameter.

    D

    Compilation fails because ServletContext does NOT have a getInitParameter method.

    E

    The foo parameter must be defined within the  element of the deployment descriptor.


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

  • 第11题:

    多选题
    Which three web application deployment descriptor elements allow web components to gain references toresources or EJB components?()
    A

    ejb-ref

    B

    jdbc-ref

    C

    servlet-ref

    D

    resource-ref

    E

    javamail-ref

    F

    resource-env-ref


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

  • 第12题:

    多选题
    Which two actions protect a resource file from direct HTTP access within a web application?()
    A

    Placing it in the /secure directory

    B

    Placing it in the /WEB-INF directory

    C

    Placing it in the /META-INF/secure directory

    D

    Creating a  element within the deployment descriptor


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

  • 第13题:

    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

  • 第14题:

    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

  • 第15题:

    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

  • 第16题:

    Which two are required elements for the  element of a web applicationdeployment descriptor?()

    • A、<realm-name>
    • B、<url-pattern>
    • C、<description>
    • D、<web-resource-name>
    • E、<transport-guarantee>

    正确答案:B,D

  • 第17题:

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


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

  • 第18题:

    单选题
    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
    解析: 暂无解析

  • 第19题:

    多选题
    Which two pieces of information are needed when declaring the web resource collection in the deployment descriptor?()
    A

    the URL pattern that requires authorization

    B

    the HTTP methods that require authorization

    C

    the users allowed access to the web resource

    D

    the J2EE roles allowed access to the web resource

    E

    the authentication mechanism required by the web resource


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

  • 第20题:

    多选题
    Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains: foo frodo Which two are true?()
    A

    The foo initialization parameter CANNOT be set programmatically.

    B

    Compilation fails because getInitParameter returns type Object.

    C

    The foo initialization parameter is NOT a servlet initialization parameter.

    D

    Compilation fails because ServletContext does NOT have a getInitParameter method.

    E

    The foo parameter must be defined within the  element of the deployment descriptor.


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

  • 第21题:

    单选题
    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
    解析: 暂无解析

  • 第22题:

    多选题
    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
    解析: 暂无解析

  • 第23题:

    多选题
    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
    解析: 暂无解析

  • 第24题:

    多选题
    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,B
    解析: 暂无解析