GeeCON Prague 2014*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes How to try the HttpMethods 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 "How to try the HttpMethods" Watch "How to try the HttpMethods" New topic
Author

How to try the HttpMethods

Sony Agrawal
Ranch Hand

Joined: Oct 04, 2009
Posts: 143
To try POST and GET i used them in the method attribute of the form. But how do i try the OPTIONS, DELETE???
Sony Agrawal
Ranch Hand

Joined: Oct 04, 2009
Posts: 143
avi sinha
Ranch Hand

Joined: Mar 15, 2009
Posts: 453

sony agrwal wrote:To try POST and GET i used them in the method attribute of the form. But how do i try the OPTIONS, DELETE???


specification just defines the roles of these methods. How they are to be implemented depends upon you. learn the methods and recommendations for each method.
for the exam you just need to know method signature , nature( idompotent etc) , and the working (of course recommended because you are free to override and change the nature )
have a look at the HttpServlet source : HttpServlet source
also check the method access specifier , that is important.

avi sinha


SCJP 5.0 SCWCD 5.0
 
GeeCON Prague 2014
 
subject: How to try the HttpMethods