I understand the difference between request.getSession(true) and request.getSession(false). But request.getSession() & request.g
request.getSession(true)
request.getSession(false)
request.getSession()
request.g
request.getSession(true) and request.getSession() both do the same thing, but if we use request.getSession(false) it will return null if session object not created yet.
null