Oracle
1Z0-899 · Question #178
1Z0-899 Question #178: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #178. The question stem and answer options stay visible for context.
Question
Given an HttpServletRequest request: 22. String id = request.getParameter("jsessionid"); 23. // insert code here 24. String name = (String) session.getAttribute("name") Which three can be placed at line 23 to retrieve an existing HttpSession object? (Choose three)
Options
- AHttpSession session = request.getSession();
- BHttpSession session = request.getSession(id);
- CHttpSession session = request.getSession(true);
- DHttpSession session = request.getSession(false);
- EHttpSession session = request.getSession("jsessionid");
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.