Id
Type
Name
Class
Yscope
第1题:
A JSP page needs to perform some operations before servicing the first request. Where can this be done?()
第2题:
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?()
第3题:
在JSP中调用JavaBean时不会用到的标记是()。
第4题:
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?()
第5题:
Which the JSTL code snippet can be used to import content from another web resource?()
第6题:
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?()
第7题:
id
name
bean
type
scope
第8题:
<jsp:import file=’foo.jsp’ />
<jsp:import page=’foo.jsp’ />
<jsp:include page=’foo.jsp’ />
<jsp:include file=’foo.jsp’ />
第9题:
<c:import url=foo.jsp/>
<c:import page=foo.jsp/>
<c:include url=foo.jsp/>
<c:include page=foo.jsp/>
第10题:
〈%@ page%〉
〈jsp:useBean〉
〈jsp:setProperty〉
〈jsp:getProperty〉
第11题:
<jsp:insert page=’${bodyURL}’ />
<jsp:insert file=’${bodyURL}’ />
<jsp:include page=’${bodyURL}’ />
<jsp:include file=’${bodyURL}’ />
<jsp:insert page=’<%= bodyURL %>’ />
第12题:
Id
Val
Name
Param
Value
Property
第13题:
Which JSP standard action can be used to import content from a resource called foo.jsp?()
第14题:
MVC中的MVC分别用()、()、()表示。
第15题:
JSP开发网站的两种模式分为jsp+javabean和jsp+javabean+servlet。
第16题:
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?()
第17题:
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?()
第18题:
<%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” %>
<jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” >
<jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” />
<jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” />
第19题:
within a method called jspInit
within the page directive of the JSP page
within a scriptlet at the top of the JSP page
within the
第20题:
id
type
name
class
scope
create
第21题:
〈javabean〉
〈jsp:useBean〉
〈jsp:setProperty〉
〈jsp:getProperty〉
第22题:
<jsp:useBean id=’pageBean’ type=’com.example.MyBean’ />
<jsp:useBean id=’pageBean’ class=’com.example.MyBean’ />
<jsp:makeBean id=’pageBean’ type=’com.example.MyBean’ />
<jsp:makeBean id=’pageBean’ class=’com.example.MyBean’ />
第23题:
<c:import page=*foo.jsp”/>
<c:include url=*foo.jsp”/>
<c:include page=*foo.jsp”/>
Importing cannot be done in JSTL. A standard action must be used instead.
第24题:
Id
Type
Name
Class
Yscope