Difference between request.getSession() and request.getSession(true)

后端 未结 7 1736
难免孤独
难免孤独 2021-01-31 08:43

I understand the difference between request.getSession(true) and request.getSession(false). But request.getSession() & request.g

7条回答
  •  再見小時候
    2021-01-31 09:08

    request.getSession() is just a convenience method. It does exactly the same as request.getSession(true).

提交回复
热议问题