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.