I am remembering.
HttpSessionAttributeListener has to be added in web.xml under <listener> tag.HttpSessionListener has to be added in web.xmlHttpSessionBindingListener are not needed to add in web.xmlHttpSessionActivationListnere are not needed to add in web.xml When you call invalidte then
value is unbounded (is specific to object which is being unbounded)value is removed(is specific to that web-app)then session is destroyed(is specific to context) and will be called once per session here is class for Demo purpose
here is
servlet If I am wrong then plz correct me.
there is no question