1.

How to create a session in servlet?

Answer»

You would get HttpSession object by calling the public method getSession() of HttpServletRequest, as below:

// Create a session object if it is already not  created.HttpSession session = request.getSession();


Discussion

No Comment Found