• 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
 
I child proofed my house but they still get in. Distract them with this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!