单项选择题
A JSP page needs to perform some operations before servicing the first request. Where can this be done?()
A. within a method called jspInit
B. within the page directive of the JSP page
C. within a scriptlet at the top of the JSP page
D. within the
点击查看答案
相关考题
-
多项选择题
Which two successfully translate and result in a value of true?()
A. ${true or false}
B. ${requestScope[foo][0] > 500}
C. ${requestScope[“foo”][1] = 420}
D. ${(requestScope[“foo”][0] lt 50) && (3 gt 2) -
单项选择题
Which EL expression, inserted at line 3 is valid and evaluated to “beanValue”?()
A. ${bean}
B. ${value}
C. ${beanValue}
D. ${com.example.bean}
E. ${requestScope[“com.example.bean”]}
F. ${request.get(“com.example.bean”).toString()} -
单项选择题
WhichmethodmustbeusedtoencodeaURLpassedasanargumenttoHttpServletResponse.sendRedirectwhenusingURLrewritingforsessiontracking?()
A. ServletResponse.encodeURL
B. HttpServletResponse.encodeURL
C. ServletResponse.encodeRedirectURL
D. HttpServletResponse.encodeRedirectURL
