• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ 2nd Edition Mock exam doubt

 
NishaP Raj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The following question should have the option C also checked.But the book doesnt do that.Can anyone clarify?

When creating session listeners which are true?
a.They are all declared in the DD.
b.Not all of them must be declared in the DD.
c.The DD tag used to declare them is <listener>.
d.The DD tag used to declare them is <session-listener>.
e.The DD tag used to declare them is placed within the <web-app> tag.
f.The DD tag used to declare them is placed within the <servlet> tag.

The given answer is b and e. But i think c isalso correct. Please confirm?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If e is correct, c also looks correct to me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic