单选题Which is true about the web container request processing model?()AThe init method on a filter is called the first time a servlet mapped to that filter is invoked.BA filter defined for a servlet must always forward control to the next resource in the filter chain.CFilters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file.DIf the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it.

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


参考解析

解析: 暂无解析

相关考题:

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.

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.

Which the three are true about servlet filters?()A、 A filter must implement the destroy methodB、 A filter must implement the doFilter methodC、 A servlet may have multiple filters associated with itD、 A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain  interfaceE、 A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward methodF、 For each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container

Which two are true about authentication?()A、Form-based logins should NOT be used with HTTPS.B、When using Basic Authentication the target server is NOT authenticated.C、J2EE compliant web containers are NOT required to support the HTTPS protocol.D、Web containers are required to support unauthenticated access to unprotected web resources.

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 invokedB、 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 fileD、 If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it

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 containerB、general purpose container (GP) is suitable for the widest varieties of cargoC、specific purpose container is suitable for the specific cargoD、bulk container, reefer container, open-top container are all general purpose containers

Which ONE of the following statements about Domino Enterprise server is true?()A、Can host Active Server Pages Web sitesB、Can host PHP Web sitesC、Includes a DB2 serverD、Includes an integrated Web application server

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’.

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.

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} %

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、PUTB、POSTC、SENDD、DELETEE、REMOVE

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 ProxyB、Front ControllerC、Service ActivatorD、Intercepting FilterE、Business Delegate

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、 HttpSessionB、 ServletConfigC、 ServletContextD、 HttpServletRequestE、 HttpServletResponse

Which two statements are true about the rescue configuration file?()A、It must include a root passwordB、It is roll back file number 50, and you can recover it by issuing rollback 50C、It is created by issuing request system configuration rescue saveD、It is updated automatically when you commit

多选题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?()APUTBPOSTCSENDDDELETEEREMOVE

多选题Which two about WAR files are true?()AWAR files must be located in the web application library directory.BWAR files must contain the web application deployment descriptor.CWAR files must be created by using archive tools designed specifically for that purpose.DThe web container must serve the content of any META-INF directory located in a WAR file.EThe web container must allow access to resources in JARs in the web application library directory.

单选题You are on a containership. Which statement about the stowage of hazardous materials in containers is TRUE?().AThe containers provide automatic segregation of hazardous materials except for class A explosivesBAll packages within a container must be marked This End Up to indicate the correct stowageCA refrigerated container with a fuel tank containing a flammable liquid must be stowed on deckDPackages of liquids within a container should be stowed on top of packages of solids to prevent crushing

多选题Which two statements are true about the Websense redirect Web filter solution? ()(Choose two.)AThe Websense redirect Web filter solution does not require a license on the SRX device.BThe 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.CThe Websense server provides the SRX device with a decision as to whether the SRX device permits or denies the URL.DWhen 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 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?()AProxyBView HelperCFront ControllerDSession FacadeEBusiness DelegateFModel-View-Controller

单选题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?()ARemote ProxyBFront ControllerCService ActivatorDIntercepting FilterEBusiness Delegate

单选题Which statement is true about web container session management?()AAccess to session-scoped attributes is guaranteed to be thread-safe by the web container.BTo activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.CIf the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.DThe 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.

多选题Given in a single JSP page:   Which two are true?()AThe prefix ’java’ is reserved.BThe URI ’myTags’ must be properly mapped to a TLD file by the web container.CA translation error occurs because the prefix is considered identical by the web container.DFor the tag usage , the tag1 must be unique in the union of tag names in ’myTags’ and’moreTags’.

单选题Which statement is true about a distributed call control environment and the processing of dialed digits from an IP phone?()AThe router that is directly connected to the IP phone will look up the called number in its call routing table.BThe router that is directly connected to the IP phone will inform its call agent when a service request is detected.CWhen the IP phone is picked up,the IP phone initiates the service request.DThe 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.

单选题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 HttpSessionB ServletConfigC ServletContextD HttpServletRequestE HttpServletResponse

多选题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? ()AProxyBView HelperCFront ControllerDSession FaçadeEBusiness DelegateFModel-View-Controller

多选题Which the three are true about servlet filters?()AA filter must implement the destroy methodBA filter must implement the doFilter methodCA servlet may have multiple filters associated with itDA servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain  interfaceEA filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward methodFFor each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container

单选题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 invokedB 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 fileD If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it