aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFS p825 Q49 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 "HFS p825 Q49" Watch "HFS p825 Q49" New topic
Author

HFS p825 Q49

Roger Yates
Ranch Hand

Joined: Aug 31, 2004
Posts: 118
If a servlet can access something via ServletContext methods, then surely it can access that same thing using ServletConfig methods (one of which is getServletContext, and therefore gives access to all that ServletContext has access to). So I think D is correct too, via the getServletContext method.


Cheers,<br />Roger<br />SCJP 1.2, 1.4, SCBCD 1.3, SCWCD 1.4
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
I agree with you.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Yeah, I'll give you that one

It should have been more clear to specify *directly* through methods in that API, or something that defined it more specifically. So we *meant* something like "directly through a method call in the ServletConfig API", but even that leaves a little room for interpretation...


Hmmm... I'll have to think of a better way to rephrase that one.

Boy, I'm going to be busy fixing stuff thanks to you guys!!

cheers,
Kathy
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
So, will you try to release those *updates*, say on the website, even these issues are not regarded as errata?

Thanks Kathy.

Nick
Roger Yates
Ranch Hand

Joined: Aug 31, 2004
Posts: 118
Just trying to help for the 2nd edition

Do you want me to I submit this as errata under "reader comments/queries"?
[ October 21, 2004: Message edited by: Roger Yates ]
 
 
subject: HFS p825 Q49