posted 12 years ago
Hi,
I am following Hanumant Deshmukh material for preparation of SCWCD Exam.I have small query regarding the following question.Actually when any object is added to a session HttpSessionBindingListener will notify.but they are saying HttpSessionAttributeListener will call. Can Anybody explain clearly regarding the below question?
Which interface must a class implement so that instances of the class are
notified after any object is added to a session?
A. javax.servlet.http.HttpSessionListener
B. javax.servlet.http.HttpSessionValueListener
C. javax.servlet.http.HttpSessionBindingListener
D. javax.servlet.http.HttpSessionAttributeListener
Answer: D
With Regards,
Rama Krishna.Y