多选题Which three are described in the standard web application deployment descriptor?()Asession configurationBMIME type mappingsCcontext root for the applicationDservlet instance pool configurationEweb container default port bindingsFServletContext initiali

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


相似考题
更多“多选题Which three are described in the standard web application deployment descriptor?()Asession configurationBMIME type mappingsCcontext root for the applicationDservlet instance pool configurationEweb container default port bindingsFServletContext initiali”相关问题
  • 第1题:

    Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()

    • 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

    正确答案:B

  • 第2题:

    In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()

    • A、 /WEB-INF
    • B、 /META-INF
    • C、 /WEB-INF/tlds
    • D、 /META-INF/tlds
    • E、 WEB-INF/resources
    • F、 /META-INF/resources

    正确答案:A,C,E

  • 第3题:

    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

  • 第4题:

    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

  • 第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 the two about WAR files are true?()
    A

    WAR files must be located in the web application library directory.

    B

    WAR files must contain the web application deployment descriptor.

    C

    WAR files must be created by using archive tools to designed specifically for that purpose.

    D

    The web container must serve the content of any META-INF directory located in a WAR file.

    E

    The web container must allow access to resources in JARs in the web application library directory


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

  • 第7题:

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


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

  • 第8题:

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


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

  • 第9题:

    多选题
    In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()
    A

    /WEB-INF

    B

    /META-INF

    C

    /WEB-INF/tlds

    D

    /META-INF/tlds

    E

    WEB-INF/resources

    F

    /META-INF/resources


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

  • 第10题:

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

  • 第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 three are valid URL mappings to a servlet in a web deployment descriptor?()
    A

    */*

    B

    *.do

    C

    MyServlet

    D

    /MyServlet

    E

    /MyServlet/*

    F

    MyServlet/*.jsp


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

  • 第13题:

    Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable  343./mainError.jsp 344. 345. 346.java.lang.ClassCastException  347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()

    • A、The deployment descriptor is invalid.
    • B、The container invokes mainError.jsp.
    • C、The container invokes castError.jsp.
    • D、Neither mainError.jsp nor castError.jsp is invoked.

    正确答案:C

  • 第14题:

    Which the three interfaces need to be declared in the web application deployment descriptor? ()

    • A、 HttpSessionListener
    • B、 HttpSessionBindingListener
    • C、 HttpSessionTimedOutListener
    • D、 HttpSessionAttributeListener
    • E、 HttpSessionActivationListener
    • F、 HttpSessionPassivatedListener

    正确答案:B,D,E

  • 第15题:

    Which the two about WAR files are true?()

    • A、 WAR files must be located in the web application library directory.
    • B、 WAR files must contain the web application deployment descriptor.
    • C、 WAR files must be created by using archive tools to designed specifically for that purpose. 
    • D、 The web container must serve the content of any META-INF directory located in a WAR file.
    • E、 The web container must allow access to resources in JARs in the web application library directory

    正确答案:B,E

  • 第16题:

    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

    正确答案:A,D,F

  • 第17题:

    单选题
    Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
    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


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

  • 第18题:

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

  • 第19题:

    多选题
    Which the three interfaces need to be declared in the web application deployment descriptor? ()
    A

    HttpSessionListener

    B

    HttpSessionBindingListener

    C

    HttpSessionTimedOutListener

    D

    HttpSessionAttributeListener

    E

    HttpSessionActivationListener

    F

    HttpSessionPassivatedListener


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

  • 第20题:

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

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

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


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

  • 第23题:

    多选题
    In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()
    A

    /WEB-INF

    B

    /META-INF

    C

    /WEB-INF/tlds

    D

    /META-INF/tlds

    E

    /WEB-INF/resources

    F

    /META-INF/resources


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

  • 第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
    解析: 暂无解析