This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes  Instead of token is any other way to stop duuplicate frm submssion in strut2. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Instead of token is any other way to stop duuplicate frm submssion in strut2." Watch " Instead of token is any other way to stop duuplicate frm submssion in strut2." New topic
Author

Instead of token is any other way to stop duuplicate frm submssion in strut2.

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 301

Hi,

Instead of token is any other way to stop duplicate form submission in strut2.

Please tell me.
Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Use JavaScript to disable the submit button after it's clicked.
kirans reddy
Greenhorn

Joined: May 02, 2009
Posts: 15
just place redirect="true" in action path
Mudit Srivastava
Ranch Hand

Joined: Apr 30, 2007
Posts: 38
or use the execAndWait interceptor if you don't mind having a wait page.
 
jQuery in Action, 3rd edition
 
subject: Instead of token is any other way to stop duuplicate frm submssion in strut2.
 
It's not a secret anymore!