aspose file tools
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 The Software Craftsman this week in the Agile 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: 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


OCJP-90%,OCPWCD-95%
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.....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Question on HttpSessionBindingListener