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'm implementing a functionality where I've two navigation paths.
One, the user may wish to start over and key in new data.
Secondly, the user might need to edit the existing criteria.
In the action mapping, i've defined the form bean scope as session. This helps if the user wants to edit the criteria. But when the user wants to start over, still the old values are retained. How do i make the form bean reset when the user starts over? The values should be retained when he wants to edit.
Any ideas/suggestions would be deeply appreciated...