• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on jdiscuss web site

 
Adri Smith
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a jdiscuss exam I am asked to response which Listener interface the following event call:

event: an attribute is replaced in the session

propositions:
1) HttpSessionActivationListener
2) HttpSessionListener
3) HttpSessionBindingListener
4) none of these

A the end of the exam I am surprise it says that the answer is the number (3). I do not think this interface is called when we replace an attribute because the method valueUnbound and valueBound can only be called in case an object is added or removed to the session. That should be the number(4). If there was the HttpSessionAttributeListener, that would be the answser.

Does anyone can tell me if he thinks I am right ?

Thanks,
ADri
 
Sivasundaram Umapathy
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct Adri. May be you should post this in the JDiscuss forum for SCWCD certification,so that they correct this error.
 
Adri Smith
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your answer.

I posted it also to their forum

Adri
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic