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

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


相似考题
参考答案和解析
正确答案: B
解析: 暂无解析
更多“Which is true about the web container request processing mod”相关问题
  • 第1题:

    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

  • 第2题:

    Which ONE of the following statements about Domino Enterprise server is true?()

    • A、Can host Active Server Pages Web sites
    • B、Can host PHP Web sites
    • C、Includes a DB2 server
    • D、Includes an integrated Web application server

    正确答案:D

  • 第3题:

    Which two are true regarding a web application class loader?()

    • A、A web application may override the web container’s implementation classes.
    • B、A web application running in a J2EE product may override classes in the javax.* namespace.
    • C、A web application class loader may NOT override any classes in the java.* and javax.* namespaces.
    • D、Resources in the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2SE semantics of getResource.

    正确答案:C,D

  • 第4题:

    Your web application requires the ability to load and remove web files dynamically to the web container’s filesystem. Which two HTTP methods are used to perform these actions?()

    • A、PUT
    • B、POST
    • C、SEND
    • D、DELETE
    • E、REMOVE

    正确答案:A,D

  • 第5题:

    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

    正确答案:D

  • 第6题:

    多选题
    Your web application requires the ability to load and remove web files dynamically to the web container’s filesystem. Which two HTTP methods are used to perform these actions?()
    A

    PUT

    B

    POST

    C

    SEND

    D

    DELETE

    E

    REMOVE


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

  • 第7题:

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


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

  • 第8题:

    多选题
    Which two statements are true about the Websense redirect Web filter solution? ()(Choose two.)
    A

    The Websense redirect Web filter solution does not require a license on the SRX device.

    B

    The Websense server provides the SRX device with a category for the URL and the SRX device then matches the category decides to permit or deny the URL.

    C

    The Websense server provides the SRX device with a decision as to whether the SRX device permits or denies the URL.

    D

    When the Websense server does not know the category of the URL, it sends a request back to the SRX device SurfControl server in the cloud.


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

  • 第9题:

    单选题
    A developer is designing the presentation tier for a web application which requires a centralized requesthandling to complete common processing required by each request. Which design pattern provides asolution to this problem?()
    A

    Remote Proxy

    B

    Front Controller

    C

    Service Activator

    D

    Intercepting Filter

    E

    Business Delegate


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

  • 第10题:

    多选题
    Given in a single JSP page:   Which two are true?()
    A

    The prefix ’java’ is reserved.

    B

    The URI ’myTags’ must be properly mapped to a TLD file by the web container.

    C

    A translation error occurs because the prefix is considered identical by the web container.

    D

    For the tag usage , the tag1 must be unique in the union of tag names in ’myTags’ and’moreTags’.


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

  • 第11题:

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


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

  • 第12题:

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


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

  • 第13题:

    which of the following is not true about the classification of the cantainers?()

    • A、containers are classified as general purpose (dry cargo) container and specific purpose container
    • B、general purpose container (GP) is suitable for the widest varieties of cargo
    • C、specific purpose container is suitable for the specific cargo
    • D、bulk container, reefer container, open-top container are all general purpose containers

    正确答案:D

  • 第14题:

    Given in a single JSP page: <%@ taglib prefix=’java’ uri=’myTags’ %> <%@ taglib prefix=’JAVA’ uri=’moreTags’ %>  Which two are true?()

    • A、The prefix ’java’ is reserved.
    • B、The URI ’myTags’ must be properly mapped to a TLD file by the web container.
    • C、A translation error occurs because the prefix is considered identical by the web container.
    • D、For the tag usage , the tag1 must be unique in the union of tag names in ’myTags’ and’moreTags’.

    正确答案:A,B

  • 第15题:

    You are building a Front Controller using a JSP page and you need to determine if the user’s session hasNOT been created yet and perform some special processing for this case. Which scriptlet code snippet willperform this test?()

    • A、<% if ( request.getSession(false) == null ) {// special processing} %>
    • B、<% if ( request.getHttpSession(false) == null ) {// special processing} %>
    • C、<% if ( requestObject.getSession(false) == null ) { // special processing} %>
    • D、<% if ( requestObject.getHttpSession(false) == null ) { // special processing} %>

    正确答案:A

  • 第16题:

    A developer is designing the presentation tier for a web application which requires a centralized requesthandling to complete common processing required by each request. Which design pattern provides asolution to this problem?()

    • A、Remote Proxy
    • B、Front Controller
    • C、Service Activator
    • D、Intercepting Filter
    • E、Business Delegate

    正确答案:B

  • 第17题:

    Which two statements are true about the rescue configuration file?()

    • A、It must include a root password
    • B、It is roll back file number 50, and you can recover it by issuing rollback 50
    • C、It is created by issuing request system configuration rescue save
    • D、It is updated automatically when you commit

    正确答案:A,C

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

    单选题
    You are on a containership. Which statement about the stowage of hazardous materials in containers is TRUE?().
    A

    The containers provide automatic segregation of hazardous materials except for class A explosives

    B

    All packages within a container must be marked This End Up to indicate the correct stowage

    C

    A refrigerated container with a fuel tank containing a flammable liquid must be stowed on deck

    D

    Packages of liquids within a container should be stowed on top of packages of solids to prevent crushing


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

  • 第20题:

    多选题
    A developer has created a web application that includes a servlet for each use case in the application.These servlets have become rather difficult to maintain because the request processing methods havebecome very large. There is also common processing code in many servlets because these use cases arevery similar. Which two design patterns can be used together to refactor and simplify this web application?()
    A

    Proxy

    B

    View Helper

    C

    Front Controller

    D

    Session Facade

    E

    Business Delegate

    F

    Model-View-Controller


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

  • 第21题:

    单选题
    Which statement is true about web container session management?()
    A

    Access to session-scoped attributes is guaranteed to be thread-safe by the web container.

    B

    To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.

    C

    If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.

    D

    The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.


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

  • 第22题:

    单选题
    Which statement is true about a distributed call control environment and the processing of dialed digits from an IP phone?()
    A

    The router that is directly connected to the IP phone will look up the called number in its call routing table.

    B

    The router that is directly connected to the IP phone will inform its call agent when a service request is detected.

    C

    When the IP phone is picked up,the IP phone initiates the service request.

    D

    The directly connected router passes the collected digits to its call agent,and the call agent looks up in its call-routing table the called number.


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

  • 第23题:

    多选题
    A Company.com developer has created a web application that includes a servlet for each use case in the application. These servlets have become rather difficult to maintain because the request processing methods have become very large. There is also common processing code in many servlets because these use cases are very similar.  Which two design patterns can be used together to refactor and simplify this web application? ()
    A

    Proxy

    B

    View Helper

    C

    Front Controller

    D

    Session Façade

    E

    Business Delegate

    F

    Model-View-Controller


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

  • 第24题:

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