• Post Reply Bookmark Topic Watch Topic
  • New Topic

SessionBindingListener

 
V Sharma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks a little doubt
sess.setAttribute("Solo",obj);
sess.setAttribute("Solo",new Value());

Where Value class implements the SessionBindingListener

Why does getValue on sessionevent returns null

As per understanding of below line from spec
"If the attribute was replaced, this is the old value of the attribute."

It should return the old value.Or shouldn,t ?


Thanks in Advance.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!