aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes A Query With an SCWCD exam question that someone ought to shed some light on. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "A Query With an SCWCD exam question that someone ought to shed some light on." Watch "A Query With an SCWCD exam question that someone ought to shed some light on." New topic
Author

A Query With an SCWCD exam question that someone ought to shed some light on.

Abhijit Ghatnekar
Greenhorn

Joined: Nov 10, 2007
Posts: 19
Hello All,

I'm preparing for the SCWCD exam and I had a doubt with the following question...


Which HTTP methods are used to show the client what server is receiving ?
1) HEAD
2) PUT
3) TRACE
4) POST
5) GET

I got this right , it is TRACE. But when I gave it a forethought, I realized that POST, GET could also serve as answers when the context is a development/debugging environment where your application is in the initial stages of development. You can print the response to check the data you sent over through your forms is received properly by your servlet or not... (TRACE also may allow an attacker to steal information such as website credentials so using TRACE to loopback the request is downright incorrect)

And one more thing. For the exam is it essential to memorize the API? like which method is defined in which inteface or which class implements which interface.... ?


What are your thoughts on this? This question should have been a bit more specific.....


Regards,
Abhijit

[ I may sound stupid in some of my posts, but I confess I'm out of touch with the Java realm since 4 and a half years ]
Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

As per my Understanding ,answer should be Trace.

I realized that POST, GET could also serve as answers when the context is a development/debugging environment where your application is in the initial stages of development. You can print the response to check the data you sent over through your forms is received properly by your servlet or not... (TRACE also may allow an attacker to steal information such as website credentials so using TRACE to loopback the request is downright incorrect)


you are right in this Part but as far Exam is concerned,I think Trace is correct

Check out rancher notes,you can get the material required for API .

http://www.coderanch.com/how-to/content/Ashok_SCWCD_API.doc


OCPJP 6.0 93%
OCPJWCD 5.0 98%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A Query With an SCWCD exam question that someone ought to shed some light on.