my dog learned polymorphism*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFJS (V2) Final Mock Question 6 is wrong? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFJS (V2) Final Mock Question 6 is wrong?" Watch "HFJS (V2) Final Mock Question 6 is wrong?" New topic
Author

HFJS (V2) Final Mock Question 6 is wrong?

Kay Li
Greenhorn

Joined: May 11, 2009
Posts: 14

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

Joined: Nov 23, 2007
Posts: 73
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

Joined: May 11, 2009
Posts: 14
Thanks!
This helps!

Kay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFJS (V2) Final Mock Question 6 is wrong?
 
Similar Threads
HFSJ Mock Exam 2 Question
HFSJ 2nd Edition Mock exam doubt
HFSJ Mock Exam
HFSJ 2nd edition Mock exam questions 6, 11,26,34,49 and 69
Final Mock exam question