Which is a benefit of precompiling a JSP page?()
第1题:
You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()
第2题:
Which JSTL code snippet can be used to import content from another web resource?()
第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题:
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?()
第5题:
Select three true statements regarding Coherence()
第6题:
In your database server, the parameter PLSQL_OPTIMIZE_LEVEL has been set to 2. What would this setting achieve?()
第7题:
The jspInit method is called.
The JSP page implementation class is created.
The JSP page implementation class is compiled.
The JSP page is validated for syntatic correctness.
The associated tag files are validated for syntatic correctness.
第8题:
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.
第9题:
<jsp:import file=’foo.jsp’ />
<jsp:import page=’foo.jsp’ />
<jsp:include page=’foo.jsp’ />
<jsp:include file=’foo.jsp’ />
第10题:
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
第11题:
It degrades the run time and compiler performance.
It provides better run time and compiler performance.
It provides better optimization of the statement during parse time.
It forces the rule based optimizer to be used for statement optimization.
It provides better run time performance but slightly degraded compiler performance.
It provides better run time performance but slightly degraded run time performance.
第12题:
<jsp:insert page=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:insert>
<jsp:include page=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:include>
<jsp:include file=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:include>
<jsp:insert page=’/WEB-INF/jsp/header.jsp’>. <jsp:param name=’pageTitle’ value=’Welcome Page’ /> . </jsp:insert>
<jsp:include page=’/WEB-INF/jsp/header.jsp’>. <jsp:param name=’pageTitle’ value=’Welcome Page’ /> . </jsp:include>
第13题:
Which three occur during JSP page translation?()
第14题:
在jsp中作用域由小到大的组合是()
第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 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?()
第17题:
You work as a database administrator for Certkiller .com. In your database server, the parameter PLSQL_OPTIMIZE_LEVEL has been set to 2. What would this setting achieve?()
第18题:
<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>
第19题:
Error
Exception
Throwable
Request error
Request exception
第20题:
<jsp:insert page=’${bodyURL}’ />
<jsp:insert file=’${bodyURL}’ />
<jsp:include page=’${bodyURL}’ />
<jsp:include file=’${bodyURL}’ />
<jsp:insert page=’<%= bodyURL %>’ />
第21题:
It avoids initialization on the first request.
It provides the ability to debug runtime errors in the application.
It provides better performance on the first request for the JSP page.
It avoids execution of the _jspService method on the first request.
第22题:
Id
Type
Name
Class
Yscope
第23题:
Id
Val
Name
Param
Value
Property