试题详情
- 多项选择题 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 anexisting HttpSession object?()
A、HttpSession session = request.getSession();
B、HttpSession session = request.getSession(id);
C、HttpSession session = request.getSession(true);
D、HttpSession session = request.getSession(false);
E、HttpSession session = request.getSession("jsessionid");
- A,C,D
关注下方微信公众号,在线模考后查看
热门试题