This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Mock Exam Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Mock Exam Question" Watch "Mock Exam Question" New topic
Author

Mock Exam Question

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

From David Bridgewater's book,

10. What request header must be set for parameter data to be decoded from a form? (Choose one.)
A. EncType: application /x-www-urlencoded
B. Content-Type: application /x-www-form-urlencoded
C. Content-Type: multipart /form-data
D. Encoding-Type: multipart /form-data
E. Accept-Encoding: application /www-form-encoded
F. Encoding-Type: multipart /www-form-data

What is the answer guys?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Any participants? Do we see questions like these in the real exam?
Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
I would say the right answer is C

request header for form data

But I'm not sure.


Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
What happens when you try them? simple enough to try...

Please let us know :-)
Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
The following topic has the answer

Hi Please Explain this
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Mock Exam Question
 
Similar Threads
Base64 encoded file as POST request not working correctly.
Encoding question
HTTP POST - does vanilla web page do URL encode?
How To Fetch a File ( .doc, .txt, .pdf, ..., etc.) From Client's Machine
file uploading