This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Duplicate request submission on refreshing the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
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.

 
Have you checked out Aspose?
 
subject: Duplicate request submission on refreshing the page
 
It's not a secret anymore!