Given an HttpServletRequest request and an HttpServletResponse response: 41.HttpSession session = null; 42.// insert code here 43.if(session == null) { 44.// do something if session does not exist 45.} else { 46.// do something if session exists47. } To implement the design intent,which statement must be inserted at line 42?()
- Asession = response.getSession();
- Bsession = request.getSession();
- Csession = request.getSession(true);
- Dsession = request.getSession(false);
- Esession = request.getSession("jsessionid");