Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFJS (V2) Final Mock Question 6 is wrong?

 
Kay Li
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

When creating session listeners which are true? (Choose all that apply.)
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.

Book's answer: BE
My answer: BCE

Right???
 
Hasnain Javed Khan
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Kay,

You use the listener AND the listener class tag to declare/configure a listener



Hope that helps.

Kind Regards.
Hasnain Javed.
 
Kay Li
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
This helps!

Kay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic