网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

Which two are required elements for the  element of a web applicationdeployment descriptor?()

  • A、<realm-name>
  • B、<url-pattern>
  • C、<description>
  • D、<web-resource-name>
  • E、<transport-guarantee>

参考答案

更多 “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 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?()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

考题 单选题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?()A classbr/B webappbr/C servletbr/D codebasebr/E servlet-class

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