This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question about Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question about "getHeaderValue()"" Watch "Question about "getHeaderValue()"" New topic
Author

Question about "getHeaderValue()"

Malika Ben Aziz
Greenhorn

Joined: Oct 26, 2009
Posts: 23
Hello folks
I am preparing for SCWCD using the book SCWCD EXAM STUDY KIT 2nd edition (SCE 310-081).

On the chapter about Servlets, there is a response for a question that did not convince me.




the explanation seems correct, but the answer is not.

I didn't find any thing about headers on the ServletRequest interface.
To me correct answer would be just "e"

Can you confirm please?

Parth Twari
Ranch Hand

Joined: Jan 20, 2010
Posts: 163
hi malika

Yes you are right , the answer will be c and e

When you are in doubt then refer the specs and take them as the last say.

regards


Parth Tiwari
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about "getHeaderValue()"