asked in JSP by (58.6k points)

1 Answer

By default JSP page creates a session but sometimes we don’t need session in JSP page. We can use JSP page directive session attribute to indicate compiler to not create session by default. It’s default value is true and session is created. To disable the session creation, we can use it like below.

<%@ page session	="false" %>
answered by (58.6k points)

Java Interview Questions and Answers 2018

>
...