单选题 Which is the correct web application deployment descriptor element for defining a servlet initialization parameter?()
A
B
C
D
单选题 Which is the valid identifier?()
false
default
_object
a-class
单选题 What is the value of b bat line 5()?
-1
225
127
Compilation will fail.
Compilation will succeed but the program will throw an exception at line 4.
多选题 Which three EL expressions, inserted at line 16, are valid and evaluate to “d”? ()
${map.c}
${map[c]}
${map[“c”]}
${map.map.b}
${map[map.b]}
${map.map(map.b)}
多选题 Which two prevent a servlet from handling requests.?()
The servlet’s init method returns a non-zero status.
The servlet’s init method throws a Servlet Exception
The servlet’s init method sets the Servlet Response’s context length to 0
The servlet’s init method sets the Servlet Response’s content type to null.
The servlet’s init method does NOT return within a time period defined by the servlet container.
多选题 Which three are guaranteed to be valid for the element of a web application deployment descriptor?()
FORM
DIGEST
NORMAL
ENCRYPTED
CLIENT-CERT
单选题 Which statement is true if the do Start Tag method returns EVAL_BODY_BUFFERED?()
The tag handler must extend body Tag.
The do After Body method is NOT called.
The set Body Content method is called.
It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.
单选题 Assuming the tag library in the exhibit is imported with the prefix forum, which custom tag invocation produces a translation error in a JSP page?()
A
B
C
D
E
多选题 In which two web application directories can dependent classes and libraries be located? ()
/WEB-INF/lib as a JAR file
/META-INF/lib as a JAR file
/classes as compiled class files
/WEB-INF/lib as compiled class files
/WEB-INF/classes as compiled class files
/META-INF/classes as compiled class files
多选题 Given a web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()
${product ID}
${param.productID}
${params.productID}
${params.productID[1]}
${paramvalues.productID}
${paramValues.productID[0]}
${pageContext.request.productID}