File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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()"
 
Similar Threads
doubt from hanumant book
[JSP 2.0] Final Version errors. Part 2.
GetHeaders for only one value
methods would you use to retrive header values from request
getHeaders(s) or getHeaderValues(s)?