单选题Given the web application deployment descriptor elements: 11. 12.ParamAdder 13.com.example.ParamAdder 14.... 24. 25.ParamAdder 26.MyServlet 27. 28. Which element, inserted at line 27,causes the ParamAdder filter to be applied when MyServlet is invokedby another servlet using the RequestDispatcher.include method?()Ainclude/BdispatcherINCLUDE/dispatcherCdispatcherinclude/dispatcherDfilter-conditionINCLUDE/filter-conditionEfilter-conditioninclude/filter-condition

单选题
Given the web application deployment descriptor elements: 11. 12.ParamAdder 13.com.example.ParamAdder 14.... 24. 25.ParamAdder 26.MyServlet 27. 28. Which element, inserted at line 27,causes the ParamAdder filter to be applied when MyServlet is invokedby another servlet using the RequestDispatcher.include method?()
A

<include/>

B

<dispatcher>INCLUDE</dispatcher>

C

<dispatcher>include</dispatcher>

D

<filter-condition>INCLUDE</filter-condition>

E

<filter-condition>include</filter-condition>


参考解析

解析: 暂无解析

相关考题:

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

Which two are valid values for the  element inside a  element of a web application deployment descriptor?()A、 NULLB、 SECUREC、 INTEGRALD、 ENCRYPTEDE、 CONFIDENTIAL

Which element of a web application deployment descriptor  element is required?()A、realm-nameB、auth-methodC、security-roleD、transport-guaranteeE、web-resource-collection

Given the web application deployment descriptor elements: 11. 12.ParamAdder 13.com.example.ParamAdder 14.... 24. 25.ParamAdder 26.MyServlet 27. 28. Which element, inserted at line 27,causes the ParamAdder filter to be applied when MyServlet is invokedby another servlet using the RequestDispatcher.include method?()A、include/B、dispatcherINCLUDE/dispatcherC、dispatcherinclude/dispatcherD、filter-conditionINCLUDE/filter-conditionE、filter-conditioninclude/filter-condition

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 pageB、configure a listener in the TLD file using the  elementC、Include a  element in the web application deployment descriptorD、configure a listener in the application deployment descriptor, using the  elementE、Include a class implementing ServletContextListener as part of the web application deploymen

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 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 element is the parent of the  tag in the web application deployment descriptor? ()A、 web-app B、 filters C、 servlet D、 filter-list

Given: 11.public class MyServlet extends HttpServlet { 12.public void service(HttpServletRequest request, 13.HttpServletResponse response) 14.throws ServletException, IOException { 15.// insert code here 16.} 17.} and this element in the web application’s deployment descriptor: 302 /html/error.html Which,inserted at line 15,causes the container to redirect control to the error.html resource?()A、response.setError(302);B、response.sendError(302);C、response.setStatus(302);D、response.sendRedirect(302);E、response.sendErrorRedirect(302);

When adding a  element to a web application deployment descriptor, the inclusion of which sub-element requires the definition of an error page()?A、 realm-name B、 auth-metod C、 auth-constraint D、 form-login-config E、 user-data-constaint

Which three are valid URL mappings to a servlet in a web deployment descriptor?()A、*/*B、*.doC、MyServletD、/MyServletE、/MyServlet/*F、MyServlet/*.jsp

Which two security mechanisms can be directed through a sub-element of the element in a web application deployment descriptor?()A、AuthorizationB、Data integrityC、ConfidentialityD、Authentication

Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()A、 FORMB、 DIGESTC、 NORMALD、 ENCRYPTEDE、 CLIENT-CERT

Which two are valid values for the  element inside a  element ofa web application deployment descriptor?()A、NULLB、SECUREC、INTEGRALD、ENCRYPTEDE、CONFIDENTIAL

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 element is the parent of the  tag in the web application deployment descriptor? ()A web-app B filters C servlet D filter-list

单选题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 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 element of a web application deployment descriptor  element is required?()Arealm-nameBauth-methodCsecurity-roleDtransport-guaranteeEweb-resource-collection

单选题Given the web application deployment descriptor elements: 11. 12.ParamAdder 13.com.example.ParamAdder 14.... 24. 25.ParamAdder 26.MyServlet 27. 28. Which element, inserted at line 27,causes the ParamAdder filter to be applied when MyServlet is invokedby another servlet using the RequestDispatcher.include method?()Ainclude/BdispatcherINCLUDE/dispatcherCdispatcherinclude/dispatcherDfilter-conditionINCLUDE/filter-conditionEfilter-conditioninclude/filter-condition

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

多选题Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()AFORMBDIGESTCNORMALDENCRYPTEDECLIENT-CERT

多选题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 element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()Aclassbr/Bwebappbr/Cservletbr/Dcodebasebr/Eservlet-class

多选题Which two are valid values for the  element inside a  element of a web application deployment descriptor?()ANULLBSECURECINTEGRALDENCRYPTEDECONFIDENTIAL

单选题When adding a  element to a web application deployment descriptor, the inclusion of which sub-element requires the definition of an error page()?A realm-name B auth-metod C auth-constraint D form-login-config E user-data-constaint

单选题Given: 11.public class MyServlet extends HttpServlet { 12.public void service(HttpServletRequest request, 13.HttpServletResponse response) 14.throws ServletException, IOException { 15.// insert code here 16.} 17.} and this element in the web application’s deployment descriptor: 302 /html/error.html Which,inserted at line 15,causes the container to redirect control to the error.html resource?()Aresponse.setError(302);Bresponse.sendError(302);Cresponse.setStatus(302);Dresponse.sendRedirect(302);Eresponse.sendErrorRedirect(302);