This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFJS (V2) Final Mock Question 6 is wrong?  RSS feed

 
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
Boost this thread!