• +91 9723535972
  • info@interviewmaterial.com

Servlet Interview Questions and Answers

Question -
How can you create a session in servlet?



Answer -

We can get HttpSession object by calling the public method getSession() of HttpServletRequest. The following code segment will help us.

HttpSession session = request.getSession();

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners