【单选题】Given the JSP code: and the Classic tag handler code: 5. public int doStartTag() throws JspException { 6. // insert code here 7. // return int 8. } Assume there are no other "foo" attributes in the we...
A.
String x = (String) pageContext.getAttribute("foo")
B.
String x = (String) pageContext.getRequestScope("foo")
C.
It is NOT possible to access the pageContext object from within doStartTag
D.
String x = (String) pageContext.getRequest().getAttribute("foo")
E.
String x = (String) pageContext.getAttribute("foo", PageContext.ANY_SCOPE)