Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
    Bookmark Topic Watch Topic
  • New Topic

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

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
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!