This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question on HttpSessionBindingListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question on HttpSessionBindingListener" Watch "Question on HttpSessionBindingListener" New topic

Question on HttpSessionBindingListener

Sagar Shroff
Ranch Hand

Joined: Jun 07, 2011
Posts: 209

Hello guys.
I am confused between HttpSessionListener and HttpSessionBindingListener.
I know that HttpSessionListener provides two methods sessionCreated and sessionDestroyed which are called
when a session comes to life and destroyed respectively.
But according to what i have understood the valueBound and valueUnbound methods of HttpSessionBindingListener
are also doing the same job.
Please give me one example of HttpSessionBindingListener.Would really appreciate anyone who solves my confusion.
Thanks in advance.


Sagar Shroff
Ranch Hand

Joined: Jun 07, 2011
Posts: 209

Yeah !!...I Understood...
Guys actually i was not properly reading.....When i calmly again read about the listener i understood......Thanks anyways.....
I agree. Here's the link:
subject: Question on HttpSessionBindingListener
It's not a secret anymore!