問題詳情

75 A developer wants to make a name attribute available to all servlets associated with aparticular 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); 

參考答案

無參考答案

內容推薦

內容推薦