File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion 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: 208

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: 208


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: http://aspose.com/file-tools
 
subject: Question on HttpSessionBindingListener