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 3 months 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