• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
pankaj semwal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

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

Please tell me.
Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use JavaScript to disable the submit button after it's clicked.
 
kirans reddy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just place redirect="true" in action path
 
Mudit Srivastava
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or use the execAndWait interceptor if you don't mind having a wait page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic