网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
Which implicit object is used in a JSP page to retrieve values associated with
- A、Config
- B、Request
- C、Session
- D、Application
参考答案
更多 “Which implicit object is used in a JSP page to retrieve values associated with entries inthe deployment descriptor?()A、ConfigB、RequestC、SessionD、Application” 相关考题
考题
WhichimplicitobjectisusedinaJSPpagetoretrievevaluesassociatedwithentriesinthedeploymentdescriptor?()
A.ConfigB.RequestC.SessionD.Application
考题
某JSP中有如下代码:pageContext.setAttribute( “a” , ” page ” );request.setAttribute( “a” , ” request ” );session.setAttribute( “a” , ” session ” );application.setAttribute( “a” , ” application ” );% >有:${a}则显示结果为:A.pageB.requestC.sessionD.application
考题
Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()A、 ErrorB、 ExceptionC、 ThrowableD、 Request errorE、 Request exception
考题
Which two are valid values for the element inside a element of a web application deployment descriptor?()A、 NULLB、 SECUREC、 INTEGRALD、 ENCRYPTEDE、 CONFIDENTIAL
考题
A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBean attributes must be used to access this attribute in the JSP page?()A、 idB、 typeC、 nameD、 classE、 scopeF、 create
考题
Given the element from the web application deployment descriptor: /main/page1.jsp true and given that /main/page1.jsp contains: % int i = 12; % %= i % What is the result?()A、b/bB、b12/bC、The JSP fails to execute.D、% int i = 12 %b%= i %/b
考题
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
考题
If you want to use the Java EE platform’s built-in type of authentication that uses a custom HTML page for authentication. Which two statements are true?()A、Your deployment descriptor will need to contain this tag: CUSTOM.B、The related custom HTML login page must be named loginPage.html.C、When you use this type of authentication, SSL is turned on automatically.D、You must have a tag in your deployment descriptor that allows you to point to both a login HTML pageand an HTML page for handling any login errors.E、In the HTML related to authentication for this application, you must use predefined variable names fort he variables that store the user and password values.
考题
A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBeanattributes must be used to access this attribute in the JSP page?()A、IdB、TypeC、NameD、ClassE、Yscope
考题
Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable 343./mainError.jsp 344. 345. 346.java.lang.ClassCastException 347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()A、The deployment descriptor is invalid.B、The container invokes mainError.jsp.C、The container invokes castError.jsp.D、Neither mainError.jsp nor castError.jsp is invoked.
考题
Which three are valid URL mappings to a servlet in a web deployment descriptor?()A、*/*B、*.doC、MyServletD、/MyServletE、/MyServlet/*F、MyServlet/*.jsp
考题
Which the three interfaces need to be declared in the web application deployment descriptor? ()A、 HttpSessionListenerB、 HttpSessionBindingListenerC、 HttpSessionTimedOutListenerD、 HttpSessionAttributeListenerE、 HttpSessionActivationListenerF、 HttpSessionPassivatedListener
考题
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 the three interfaces need to be declared in the web application deployment descriptor? ()AHttpSessionListenerBHttpSessionBindingListenerCHttpSessionTimedOutListenerDHttpSessionAttributeListenerEHttpSessionActivationListenerFHttpSessionPassivatedListener
考题
单选题Given the element from the web application deployment descriptor: /main/page1.jsp true and given that /main/page1.jsp contains: What is the result?()A
b/bB
b12/bC
The JSP fails to execute.D
% int i = 12 %b%= i %/b
考题
多选题You deployed a Java EE Shared Library and want to use it from an application that is also deployed on the same cluster. Which two manifest attributes must be specified at a minimum with corresponding values in the deployment descriptor of the application that requires?()AImplementation-VersionBSpecification-VersionCExtension-NameDSpecification-VendorEImplementation-Vendor
考题
单选题Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()A
ErrorB
ExceptionC
ThrowableD
Request errorE
Request exception
考题
单选题Given the element from the web application deployment descriptor: /main/page1.jsp true and given that /main/page1.jsp contains: What is the result?()A
b/bB
b12/bC
The JSP fails to execute.D
% int i = 12 %b%= i %/b
考题
多选题A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBeanattributes must be used to access this attribute in the JSP page?()AIdBTypeCNameDClassEYscope
考题
单选题Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable 343./mainError.jsp 344. 345. 346.java.lang.ClassCastException 347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()A
The deployment descriptor is invalid.B
The container invokes mainError.jsp.C
The container invokes castError.jsp.D
Neither mainError.jsp nor castError.jsp is invoked.
考题
单选题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
考题
单选题Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable 343./mainError.jsp 344. 345. 346.java.lang.ClassCastException 347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()A
The deployment descriptor is invalid.B
The container invokes mainError.jsp.C
The container invokes castError.jsp.D
Neither mainError.jsp nor castError.jsp is invoked.
考题
单选题Which implicit object is used in a JSP page to retrieve values associated with entries inthe deployment descriptor?()A
ConfigB
RequestC
SessionD
Application
考题
多选题Which three are valid URL mappings to a servlet in a web deployment descriptor?()A*/*B*.doCMyServletD/MyServletE/MyServlet/*FMyServlet/*.jsp
热门标签
最新试卷