Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

How to create session in servlets?

Ads

 
 

Share on Google+Share on Google+

ABDULLA KHAN PATHAN
How to create session in servlets?
1 Answer(s)      5 years and a month ago
Posted in : Java Beginners

How to create session in servlets?

Ads
View Answers

June 6, 2012 at 5:56 PM


You can create session using the given code:

 HttpSession session = request.getSession(true);

For more information, visit the following link:

Servlet Create Session


Ads