Which the three EL expressions, inserted at line 15, are valid and evaluate to "3"? ()
A. ${vals.2 } B. ${vals ["2"]} C. ${vals.index } D. ${vals[index]} E. ${vals} [index] F. ${vals.(vals.index)} G. ${vals[vals[index-1]]}
单项选择题GivenaJSPerrorpage,whichimplicitobjectreferstotheuncaughtThrowablethatresultedinthepagebeinginvoked?()
A. Error B. Exception C. Throwable D. Request error E. Request exception
多项选择题Which two are true?()
A. The function method must have the signaturepublic: String spin(). B. The method must be mapped to the logical name “spin” in the web.xml file. C. The function method must have the signature:public String spinIt(). D. The function method must have the signature:public static String spin(). E. The function method must have the signature:public static String spinIT(). F. The function class must be named Spinner, and must be in the package com.example.
多项选择题GivenawebapplicationinwhichtherequestparameterproductIDcontainsaproductidentifier.WhichtwoELexpressionsevaluatethevalueoftheproductID?()
A. ${product ID} B. ${param.productID} C. ${params.productID} D. ${params.productID[1]} E. ${paramvalues.productID} F. ${paramValues.productID[0]} G. ${pageContext.request.productID}
多项选择题For a given product instance, which three jsp:setProperty attributes must be used to initialized its properties form the HTML form? ()
A. id B. name C. type D. param E. property F. reqParam G. attribute
单项选择题A session-scoped attribute, product, is stored by a servlet. That servlet then forwards to a JSP page. This attribute holds an instance of the com.Company. Product class with a name property of “The Matrix” and price property of 39.95. Given the JSP page code snippet: What is the response output of this JSP page code snippet? ()
A. Default costs 0.0 B. Default costs 49.95 C. Default costs 39.95 D. The Matrix costs 0.0 E. The Matrix costs 49.95 F. The Matrix costs 39.95