Bookmark Topic Watch Topic
  • New Topic

How post() methods serve the purpose of non-idempotence.

 
Loganathan Karunakaran
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,

I have a doubt regarding idempotence. I read in head-first servlets and jsp that post() methods are non-idempotent as per specification.
Say, I have a link which calls a post() method that updates some thing in database. Does it mean that if I click twice or thrice, it will invoke only once.

How post() methods server the purpose of non-idempotence.

Thanks in Advance.
Loganathan. K
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!