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() or request.getSession(true) both will return a current session only . if current session will not exist then it will create a new session.