*
The moose likes Mock Exam Errata and the fly likes Javaranch mock?Question Bank ID : 23 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Javaranch mock?Question Bank ID : 23" Watch "Javaranch mock?Question Bank ID : 23" New topic
Author

Javaranch mock?Question Bank ID : 23

R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
Que: A class that will recieve notification if an Attribute is added to or removed
from a session will implement which interface?

Given correct answer is HttpSessionAttributeListener
but I think(and I think I am right) ans is HttpSessionBindingListener
coz I could not find anything like HttpSessionAttributeListener in j2ee1.2.1 Doc in javax.servlet.http package.
Please correct me if I am wrong.
TIA


"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

see v2.3 of servlet spec
Originally posted by Ravish Kumar:
Que: A class that will recieve notification if an Attribute is added to or removed
from a session will implement which interface?

Given correct answer is HttpSessionAttributeListener
but I think(and I think I am right) ans is HttpSessionBindingListener
coz I could not find anything like HttpSessionAttributeListener in j2ee1.2.1 Doc in javax.servlet.http package.
Please correct me if I am wrong.
TIA


Groovy
deneb shah
Ranch Hand

Joined: Feb 13, 2000
Posts: 60
hi
giving a ref is helpful but giving reasons is more imp...
Do u even know why is it deprecated in 2.3 spec...
i guess instead of giving answers as refernces better not give them


denice the menace
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javaranch mock?Question Bank ID : 23