wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question on HttpSessionBindingListener" Watch "Question on HttpSessionBindingListener" New topic
Author

Question on HttpSessionBindingListener

Sagar Shroff
Ranch Hand

Joined: Jun 07, 2011
Posts: 207

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


OCJP-90%,OCPWCD-95%
Sagar Shroff
Ranch Hand

Joined: Jun 07, 2011
Posts: 207


Yeah !!...I Understood...
Guys actually i was not properly reading.....When i calmly again read about the listener i understood......Thanks anyways.....
 
wood burning stoves
 
subject: Question on HttpSessionBindingListener
 
Similar Threads
HttpSessionBindingListener vs HttpSessionListener
Chapter 6(Session Management) notes (HFSJ) for revision
declaration of Listener
Session doubts
HttpSessionActivationListener