aspose file tools
The moose likes Struts and the fly likes Duplicate request submission on refreshing the page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Duplicate request submission on refreshing the page" Watch "Duplicate request submission on refreshing the page" New topic
Author

Duplicate request submission on refreshing the page

Jayavardhan geepi
Ranch Hand

Joined: Jul 21, 2010
Posts: 66
Hi,

I'm using struts-1.
In action class if I do findForward("to something") then I get a result page. If I refresh that page then the original request (which made entry into action class) will be sent again
and causing abrupt results.

Is there a way to solve this?

Please help..

Thanks
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi Jayavardhan,

use saveToken to prevent duplicate form submission (org.apache.struts.action.TOKEN)
google and you will fine the solution.

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Duplicate request submission on refreshing the page
 
Similar Threads
How to iterate through ActionMessage in Action class?
problem with registration page
Session Attributes
Loading multiple forms in single jsp
Missing request parameters after servlet chaining