In the name of ALLAH, the most beneficient, the most merciful

Web Design and Development (CS506)

Question (select most suitable option)

  From following which code can be used to create session object in the Servlet:
HttpSession session = req.getSession(true);
HttpSession session = req.getSession(false);
HttpSession session = req.getSession(1);
None of the given