This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
Synchronized token patteren in J2EE
Struts 2: Forms with multiple submit buttons - Best Practice?
Am I getting paranoid?
LookupDispatchAction
Instead of token is any other way to stop duuplicate frm submssion in strut2.