wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Idempotent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Idempotent" Watch "Idempotent" New topic
Author

Idempotent

Tom Tolman
Ranch Hand

Joined: Sep 02, 2004
Posts: 83
On the bottom of page 114 of HFSJ it says "The Http 1.1 spec declared GET, HEAD, and PUT as idempotents, even though you CAN write a non idempotent doGet() method yourself (but shouldn't). POST is considered idempotent by the HTTP 1.1 spec."

Then immediately it says "POST is not idempotent"

Is the first paragraph last line a typo, or is it that they are making a distinction between intention of server response vs the actuality of correct server response?
Chandra Atla
Ranch Hand

Joined: Jul 21, 2004
Posts: 91
Hi Tom,

The first paragraph's last line a typo. It's documented in the HFSJ errata.

Here is the link to HFSJ Errata.

http://www.oreilly.com/catalog/headservletsjsp/errata/

Thanks,
Chandra
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
POST is non-idempotent


From NickyEng
Diploma in Computer Studies
SCJP 1.4
SCWCD 1.4
Formula 1 app by Maxis (Playbook)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Idempotent
 
Similar Threads
HF Servlets & JSP - POST Idempotent? Pg 114
Only POST is not considered idempotent ?
Why is PUT considered as idempotent..?
what is differance between the get/post method?
What is an Idempotent Requests