Id
Val
Name
Param
Value
Property
第1题:
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?()
第2题:
下面哪个不是JSP中和javabean相关的标记?()
第3题:
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?()
第4题:
In a JSP-centric shopping cart application, you need to move a client’s home address of the Customerobject into the shipping address of the Order object. The address data is stored in a value object classcalled Address with properties for: street address, city, province, country, and postal code. Which two JSPcode snippets can be used to accomplish this goal?()
第5题:
Which JSTL code snippet can be used to perform URL rewriting?()
第6题:
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?()
第7题:
〈jsp:userBean〉
〈jsp:include〉
〈jsp:setProperty〉
〈jsp:getProperty〉
第8题:
id
name
bean
type
scope
第9题:
〈jsp:param〉
〈jsp:setProperty〉
〈jsp:getProperty〉
〈jsp:forward〉
第10题:
〈%@ page%〉
〈jsp:useBean〉
〈jsp:setProperty〉
〈jsp:getProperty〉
第11题:
Id
Val
Name
Param
Value
Property
第12题:
Id
Type
Name
Class
Yscope
第13题:
在JSP中调用JavaBean时不会用到的标记是()。
第14题:
在以下组件中,哪些组件与JavaBean有关?()
第15题:
You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the
第16题:
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?()
第17题:
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?()
第18题:
〈javabean〉
〈jsp:useBean〉
〈jsp:setProperty〉
〈jsp:getProperty〉
第19题:
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:import>
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’>. <jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:import>
第20题:
〈jsp:useBean〉
〈jsp:setProperty〉
〈jsp:getProperty〉
〈jsp:setParameter〉
第21题:
In the init method.
In the jspInit method.
In the constructor of the JSP’s Java code.
In a JSP declaration, which includes an initializer block.
In a JSP declaration, which includes a static initializer block.
第22题:
<c:set var=’order’ property=’shipAddress’value=’${client.homeAddress}’ />
<c:set target=’${order}’ property=’shipAddress’value=’${client.homeAddress}’ />
<jsp:setProperty name=’${order}’ property=’shipAddress’ value=’${client.homeAddress}’ />
<c:set var=’order’ property=’shipAddress’><jsp:getProperty name=’client’ property=’homeAddress’ /> </c:store>
<c:set target=’${order}’ property=’shipAddress’><jsp:getProperty name=’client’ property=’homeAddress’ /> </c:set>
第23题:
id
type
name
class
scope
create
第24题:
Id
Val
Name
Param
Value
Property