A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Duplicate request submission on refreshing the page
Joined: Jul 21, 2010
Jun 22, 2011 06:46:33
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?
Joined: Mar 08, 2011
Jun 22, 2011 10:39:11
use saveToken to prevent duplicate form submission (org.apache.struts.action.TOKEN)
google and you will fine the solution.
subject: Duplicate request submission on refreshing the page
Loading multiple forms in single jsp
problem with registration page
How to iterate through ActionMessage in Action class?
Missing request parameters after servlet chaining
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015