• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

HFS p825 Q49

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I agree with you.

Nick
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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 ]
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic