• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can we stop duplicate form submition?  RSS feed

 
jagadeesh indukuri
Greenhorn
Posts: 28
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dude,


I want to know one thing related form submition .

can we stop/recognize duplicate form submitions when user refresh or reload(from right click menu) clicked?

please tell me any reference or example

thanks in advance
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Dude"? Really?

This problem can be solved with the RPG pattern. See this article for more info.
 
jagadeesh indukuri
Greenhorn
Posts: 28
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:"Dude"? Really?

This problem can be solved with the RPG pattern. See this article for more info.


Hi Dude,

why RPG pattern? i'm simple asking about page form submition (multiple times) then if in case we can observe this is duplicate request or not?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check out the link Bear provided? Did you understand how to solve the problem?
Some friendly advise. Lose the "dude" thing.
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the wiki explanation for the the PRG pattern http://en.wikipedia.org/wiki/Post/Redirect/Get

Here is how to do it in JSF 1.2: http://balusc.blogspot.com/2007/03/post-redirect-get-pattern.html
 
jagadeesh indukuri
Greenhorn
Posts: 28
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
E Armitage wrote:Here is the wiki explanation for the the PRG pattern http://en.wikipedia.org/wiki/Post/Redirect/Get

Here is how to do it in JSF 1.2: http://balusc.blogspot.com/2007/03/post-redirect-get-pattern.html



thanks for giving answer now i understand PRG pattern.
 
jagadeesh indukuri
Greenhorn
Posts: 28
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

other than RPG pattern is there any solution about my query

please tell me

thanks in advance
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What should this other solution do that using PRG (not RPG) doesn't accomplish?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!