itgle.com

Which three are described in the standard web application deployment descriptor?()  A、 session configurationB、 MIME type mappingsC、 context root for the applicationD、 servlet instance pool configurationE、 web container default port bindingsF、 ServletConte

题目

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
更多“Which three are described in the standard web application deployment descriptor?()  A、 session configurationB、 MIME type mappingsC、 context root for the applicationD、 servlet instance pool configurationE、 web container default port bindingsF、 ServletConte”相关问题
  • 第1题:

    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

  • 第2题:

    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

    正确答案:B,D,E

  • 第3题:

    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

  • 第4题:

    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

  • 第5题:

    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

  • 第6题:

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

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

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

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

    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

  • 第14题:

    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

  • 第15题:

    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

  • 第16题:

    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

  • 第17题:

    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

  • 第18题:

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

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

  • 第21题:

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

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