多选题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
多选题
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
Id
B
Type
C
Name
D
Class
E
Yscope
参考解析
解析:
暂无解析
相关考题:
在JSP页面中,正确引入JavaBean的是() A、%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” % B、jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” C、jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” / D、jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” /
JavaBean可以通过相关jsp动作指令进行调用。下面哪个不是JavaBean可以使用的jsp动作指令?()A、〈jsp:useBean〉B、〈jsp:setProperty〉C、〈jsp:getProperty〉D、〈jsp:setParameter〉
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
A JSP page needs to perform some operations before servicing the first request. Where can this be done?()A、 within a method called jspInitB、 within the page directive of the JSP pageC、 within a scriptlet at the top of the JSP pageD、 within the XML element
Which JSP standard action can be used to import content from a resource called foo.jsp?()A、jsp:import file=’foo.jsp’ /B、jsp:import page=’foo.jsp’ /C、jsp:include page=’foo.jsp’ /D、jsp:include file=’foo.jsp’ /
You need to create a JavaBean object that is used only within the current JSP page. It must NOT beaccessible to any other page including those that this page might import. Which JSP standard action canaccomplish this goal?()A、jsp:useBean id=’pageBean’ type=’com.example.MyBean’ /B、jsp:useBean id=’pageBean’ class=’com.example.MyBean’ /C、jsp:makeBean id=’pageBean’ type=’com.example.MyBean’ /D、jsp:makeBean id=’pageBean’ class=’com.example.MyBean’ /
MVC中的MVC分别用()、()、()表示。A、jsp;servlet;javabeanB、HTml;javabean;jspC、javabean;jsp;servletD、servlet;html;jsp
You have built your own light-weight templating mechanism. Your servlets, which handle each request,dispatch the request to one of a small set of template JSP pages. Each template JSP controls the layout ofthe view by inserting the header, body, and footer elements into specific locations within the template page.The URLs for these three elements are stored in request scoped variables called, headerURL, bodyURL,and footerURL, respectively. These attribute names are never used for other purposes. Which JSP codesnippet should be used in the template JSP to insert the JSP content for the body of the page?()A、jsp:insert page=’${bodyURL}’ /B、jsp:insert file=’${bodyURL}’ /C、jsp:include page=’${bodyURL}’ /D、jsp:include file=’${bodyURL}’ /E、jsp:insert page=’%= bodyURL %’ /
A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()A、idB、nameC、beanD、typeE、scope
Which the JSTL code snippet can be used to import content from another web resource?()A、 c:import url=*foo.jsp”/ B、 c:import page=*foo.jsp”/ C、 c:include url=*foo.jsp”/ D、 c:include page=*foo.jsp”/ E、 Importing cannot be done in JSTL. A standard action must be used instead.
A JSP page needs to set the property of a given JavaBean to a value that is calculated with the JSP page. Which three jsp:setProperty attributes must be used to perform this initialization?()A、IdB、ValC、NameD、ParamE、ValueF、Property
The JSP developer wants a comment to be visible in the final output to the browser. Which comment styleneeds to be used in a JSP page?()A、!-- this is a comment --B、% // this is a comment %C、%-- this is a comment --%D、% /** this is a comment **/ %
单选题在JSP页面中,正确引入JavaBean的是()A%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” % Bjsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” Cjsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” / Djsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” /
多选题A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()AidBnameCbeanDtypeEscope
单选题A JSP page needs to perform some operations before servicing the first request. Where can this be done?()A within a method called jspInitB within the page directive of the JSP pageC within a scriptlet at the top of the JSP pageD within the XML element
单选题Which JSP standard action can be used to import content from a resource called foo.jsp?()Ajsp:import file=’foo.jsp’ /Bjsp:import page=’foo.jsp’ /Cjsp:include page=’foo.jsp’ /Djsp:include file=’foo.jsp’ /
多选题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?()AidBtypeCnameDclassEscopeFcreate
单选题Which JSTL code snippet can be used to import content from another web resource?()Ac:import url=foo.jsp/Bc:import page=foo.jsp/Cc:include url=foo.jsp/Dc:include page=foo.jsp/
单选题You need to create a JavaBean object that is used only within the current JSP page. It must NOT beaccessible to any other page including those that this page might import. Which JSP standard action canaccomplish this goal?()Ajsp:useBean id=’pageBean’ type=’com.example.MyBean’ /Bjsp:useBean id=’pageBean’ class=’com.example.MyBean’ /Cjsp:makeBean id=’pageBean’ type=’com.example.MyBean’ /Djsp:makeBean id=’pageBean’ class=’com.example.MyBean’ /
单选题You have built your own light-weight templating mechanism. Your servlets, which handle each request,dispatch the request to one of a small set of template JSP pages. Each template JSP controls the layout ofthe view by inserting the header, body, and footer elements into specific locations within the template page.The URLs for these three elements are stored in request scoped variables called, headerURL, bodyURL,and footerURL, respectively. These attribute names are never used for other purposes. Which JSP codesnippet should be used in the template JSP to insert the JSP content for the body of the page?()Ajsp:insert page=’${bodyURL}’ /Bjsp:insert file=’${bodyURL}’ /Cjsp:include page=’${bodyURL}’ /Djsp:include file=’${bodyURL}’ /Ejsp:insert page=’%= bodyURL %’ /
单选题Which the JSTL code snippet can be used to import content from another web resource?()A c:import url=*foo.jsp”/ B c:import page=*foo.jsp”/ C c:include url=*foo.jsp”/ D c:include page=*foo.jsp”/ E Importing cannot be done in JSTL. A standard action must be used instead.
多选题A JSP page needs to set the property of a given JavaBean to a value that is calculated with the JSP page. Which three jsp:setProperty attributes must be used to perform this initialization?()AIdBValCNameDParamEValueFProperty
多选题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