• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

HFS p825 Q49

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with you.

Nick
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic