Is HttpSession in java servlet is created only after
HttpSession s = request.getSession();
?
In my code I didn\'t write that, but when
In addition to Nishant's answer note that session can be created implicitly by JSP pages unless you configured them not to create a session with <%@ page session = "false" %>.
<%@ page session = "false" %>