Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Clarification needed: Header methods in HSReq-Manning book

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SUBJECT: The manning SCWCD exam study kit on Page 38:
It lists 3 header methods of HttpServletRequest
as below:
1. getHeader(...)
2. getHerderValues(...)
3. getHeaderNames()
------------------------------------
But the Servlet API 2.3 has the below methods
1. getHeader(...)
2. getHerdes(...)
3. getHeaderNames()
That means getHeaderValues(..) method mentioned in the Manning/Deshmukh book is a typo?
AM I correct???
REsponses appreciated TIA
J. Reddi
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaDoc API is directly generated from codes, I would trust the API.
yu chen
SCJP2
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought of reporting this to the authors but it is already mentioned at the top of theErrata page.
 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The exam is entitled "Sun Certified Wed Component Developer For Java 2 Platform, Enterprise Edition (J2EE[tm])".
I think the world looks like this:


Both the 2.2 and the 2.3 Servlet API spec is perfectly Java 2. Why is it assumed that we shall be examined against 2.3? I couldn't find a clarification to this matter in Sun's site. Could anybody help here?
Thanks,
Panagiotis.
[ August 05, 2002: Message edited by: Panagiotis Varlagas ]
 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic