This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Duplicate submission problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Duplicate submission problem" Watch "Duplicate submission problem" New topic
Author

Duplicate submission problem

Vasudhaiv Naresh
Ranch Hand

Joined: May 13, 2005
Posts: 57
Hi all!
i'd been trying to handle duplicate form submissions using the TokenSynchronizer's :
saveToken() and isSaveToken() methods.

But I'm not able to get the things done.
It would be appreciated if anyone provides me some demo action class which handles the duplicate submission.
Regards,
Naresh
Vasudhaiv Naresh
Ranch Hand

Joined: May 13, 2005
Posts: 57
Hi,
I got the solution.
The sample action class :



Thanks & regards,
Naresh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Duplicate submission problem
 
Similar Threads
Struts 2: Forms with multiple submit buttons - Best Practice?
Synchronized token patteren in J2EE
Am I getting paranoid?
LookupDispatchAction
Instead of token is any other way to stop duuplicate frm submssion in strut2.