File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question about "getHeaderValue()"" Watch "Question about "getHeaderValue()"" New topic

Question about "getHeaderValue()"

Malika Ben Aziz

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.


Parth Tiwari
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
I agree. Here's the link:
subject: Question about "getHeaderValue()"
It's not a secret anymore!