title: Java HttpSession
body: <p>Is HttpSession in java servlet is created only after</p>
  
  <pre><code>HttpSession s = request.getSession();
  </code></pre>
  
  <p>?</p>
  
  <p>In my code I didn't write that, but when I use <code>if (request.getSession(false) == null) ...</code>, it doesn't work. Why?</p>