A JSP File Always Creates a Session
Maybe I am just stupid, but in my latest escapades into cookies and sessions, I noticed that a session always gets created up front in JSP pages. If you have a simple index.jsp page like this one:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>index</title></head>
<body>the index</body>
</html>
The container will set a session cookie as one of the very first things. [...]

