• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session object?

 
Vilas Lawande
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
What is actual difference between Servlet object & Session object?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simple put, a servlet does something, while a session stores something. A servlet may access a session to store/retrieve session attributes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic