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

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

A

B

B

C

C

D

D


相似考题
更多“单选题Within a web application deployment descriptor, which maps the com.example.LoginServlet servlet to /utils/LoginServlet?()A AB BC CD D”相关问题
  • 第1题:

    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

  • 第2题:

    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

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

  • 第7题:

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

  • 第8题:

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

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

    多选题
    Which thethree are valid URL mappings to a servlet in a web deployment descriptor? ()
    A

    */*

    B

    /*.do

    C

    myServlet

    D

    /Myservlet

    E

    /MyServlet/*

    F

    MyServlet/*.isp


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

  • 第11题:

    单选题
    Which makes the local EJB component accessible to the web components in the web application deployment descriptor?()
    A

    A

    B

    B

    C

    C

    D

    D


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

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

  • 第14题:

    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

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

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

  • 第21题:

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

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

  • 第24题:

    单选题
    Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application.  In which object can the data that A shares with B be stored?()
    A

     HttpSession

    B

     ServletConfig

    C

     ServletContext

    D

     HttpServletRequest

    E

     HttpServletResponse


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