75 A developer wants to make a name attribute available to all servlets associated with a particular user, across multiple requests from that user, from the same browser instance. Which two provide this capability from within a tag handler? (Choose two)
(A) pageContext.setAttribute("name", theValue);
(B) pageContext.setAttribute("name", getSession() );
(C) pageContext.getRequest().setAttribute("name", theValue);
(D) pageContext.getSession().setAttribute("name", theValue);
(E) pageContext.setAttribute("name", theValue, PageContext.PAGE_SCOPE); 

答案:登入後查看
統計: A(0), B(1), C(0), D(0), E(0) #2227513

詳解 (共 2 筆)

#4257773
原本答案為D,6,修改為D
(共 15 字,隱藏中)
前往觀看
0
0
#4257774
原本題目:75 A developer ...
(共 1185 字,隱藏中)
前往觀看
0
0