Which two are required elements for the element of a web applicationdeployment descriptor?()A、realm-nameB、url-patternC、descriptionD、web-resource-nameE、transport-guarantee
Which two are required elements for the
- A、<realm-name>
- B、<url-pattern>
- C、<description>
- D、<web-resource-name>
- E、<transport-guarantee>
相关考题:
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 pieces of information are needed when declaring the web resource collection in the deployment descriptor?()A、 the URL pattern that requires authorizationB、 the HTTP methods that require authorizationC、 the users allowed access to the web resourceD、 the J2EE roles allowed access to the web resourceE、 the authentication mechanism required by the web resource
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
Which two actions protect a resource file from direct HTTP access within a web application?()A、Placing it in the /secure directoryB、Placing it in the /WEB-INF directoryC、Placing it in the /META-INF/secure directoryD、Creating a element within the deployment descriptor
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
Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains: foo frodo Which two are true?()A、The foo initialization parameter CANNOT be set programmatically.B、Compilation fails because getInitParameter returns type Object.C、The foo initialization parameter is NOT a servlet initialization parameter.D、Compilation fails because ServletContext does NOT have a getInitParameter method.E、The foo parameter must be defined within the element of the deployment descriptor.
Which element is the parent of the tag in the web application deployment descriptor? ()A、 web-app B、 filters C、 servlet D、 filter-list
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 security mechanism can be directed through the element in a web deployment descriptor()?A、 authorizationB、 data integrityC、 confidentialityD、 authentication
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 element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()A、classbr/B、webappbr/C、servletbr/D、codebasebr/E、servlet-class
Which two are valid values for the element inside a element ofa web application deployment descriptor?()A、NULLB、SECUREC、INTEGRALD、ENCRYPTEDE、CONFIDENTIAL
单选题Which security mechanism can be directed through the element in a web deployment descriptor()?A authorizationB data integrityC confidentialityD authentication
单选题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 two are required elements for the element of a web applicationdeployment descriptor?()Arealm-nameBurl-patternCdescriptionDweb-resource-nameEtransport-guarantee
多选题Which two pieces of information are needed when declaring the web resource collection in the deployment descriptor?()Athe URL pattern that requires authorizationBthe HTTP methods that require authorizationCthe users allowed access to the web resourceDthe J2EE roles allowed access to the web resourceEthe authentication mechanism required by the web resource
多选题Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains: foo frodo Which two are true?()AThe foo initialization parameter CANNOT be set programmatically.BCompilation fails because getInitParameter returns type Object.CThe foo initialization parameter is NOT a servlet initialization parameter.DCompilation fails because ServletContext does NOT have a getInitParameter method.EThe foo parameter must be defined within the element of the deployment descriptor.
单选题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
多选题Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains: foo frodo Which two are true?()AThe foo initialization parameter CANNOT be set programmatically.BCompilation fails because getInitParameter returns type Object.CThe foo initialization parameter is NOT a servlet initialization parameter.DCompilation fails because ServletContext does NOT have a getInitParameter method.EThe foo parameter must be defined within the element of the deployment descriptor.
多选题Which three web application deployment descriptor elements allow web components to gain references toresources or EJB components?()Aejb-refBjdbc-refCservlet-refDresource-refEjavamail-refFresource-env-ref
单选题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