Java code
Template text
Scripting code
Standard action
Expression language
第1题:
You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to anArrayList object. Which two JSP code snippets can you use to import these list types?()
第2题:
Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly, the consultant created several dozen JSP pages that directly communicate with the database. The Squeaky business team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the new system. Which pattern can the developer use to solve this problem?()
第3题:
GiventheJSPcode:10.<html>11.<body>12.<jsp:useBeanid=’customer’class=’com.example.Customer’/>13.Hello,${customer.title}${customer.lastName},welcome14.toSqueakyBeans,Inc.15.</body>16.</html>WhichthreetypesofJSPcodeareused?()
A.Javacode
B.Templatetext
C.Scriptingcode
D.Standardaction
E.Expressionlanguage
第4题:
Which the JSTL code snippet can be used to import content from another web resource?()
第5题:
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
第6题:
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?()
第7题:
Which JSTL code snippet can be used to import content from another web resource?()
第8题:
Given that login.getName() returns a java.lang.String value and given the JSP code: Welcome <%= login.getName() %>Which is equivalent?()
第9题:
Which JSTL code snippet can be used to perform URL rewriting?()
第10题:
11. public interface Status { 12. /* insert code here */ int MY_VALUE = 10; 13. } Which three are valid on line 12?()