• Post Reply Bookmark Topic Watch Topic
  • New Topic

session in javaclass  RSS feed

 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Is it possible to store a value in session in normal java class ? (otherthan servlets..)
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An HTTPSession in a class where there is no HTTP request? No. Storing a value by other means is easy enough though.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!