• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to refresg a bean in Session  RSS feed

 
David Yutzy
tumbleweed and gunslinger
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to refresh a bean already in session? If not, how can I release on from session?
 
Vikas Lamba
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you be a little more specific?
If u r trying to just update the contents of a bean which is there in the session, just get a reference to the bean via
(BeanName)session.getAttribute("BeanSesionName")
and then call all the methods as u would normally call on the Javabean for updating the contents. The Javabean in the session will also keep getting updated parallelly.

------------------
Vikas Lamba
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!