• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt mock exam question in ranch

 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a question in the mock exam link in ranch.
The class which gets notified when any session attribute is changed would implement which interface?

Ans:HttpSessionAttributeListener

Why can�t it be HttpSessionBindingListener?
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a question in the mock exam link in ranch.
The class which gets notified when any session attribute is changed would implement which interface?

Ans:HttpSessionAttributeListener

Why can�t it be HttpSessionBindingListener?


please refer page in hfsj that has comparison of all listeners.
dont remember the page num
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic