This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ 2nd Edition Mock exam doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ 2nd Edition Mock exam doubt" Watch "HFSJ 2nd Edition Mock exam doubt" New topic
Author

HFSJ 2nd Edition Mock exam doubt

NishaP Raj
Greenhorn

Joined: Jun 25, 2008
Posts: 5
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

If e is correct, c also looks correct to me.


[My Blog]
All roads lead to JavaRanch
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: HFSJ 2nd Edition Mock exam doubt
 
It's not a secret anymore!