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.
I have a page where a user can edit his contact details. When the user clicks on the update button on that form, the update action writes the info to the database and forwards the user to a success page.
My problem is that when the user refreshes the sucess page (F5 or the refresh icon in IE), the update action class gets called again. The same thing happens when the user presses the back button the press the forward button again.
Is there a way I can code the action (or the JSP page) to clear attributes or forwards? Thank you.