Oracle
1Z0-899 · Question #176
1Z0-899 Question #176: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #176. The question stem and answer options stay visible for context.
Question
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)
Options
- ApageContext.setAttribute("name", theValue);
- BpageContext.setAttribute("name", getSession() );
- CpageContext.getRequest().setAttribute("name", theValue);
- DpageContext.getSession().setAttribute("name", theValue);
- EpageContext.setAttribute("name", theValue, PageContext.PAGE_SCOPE);
- FpageContext.setAttribute("name", theValue, PageContext.SESSION_SCOPE);
Unlock 1Z0-899 to see the answer
You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.