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 want to reset the form fields after submitting the form to the action in struts2. i know the very old way that at the server side
after persisting the data and before returning back to the jsp i will assign all the defaults to the properties manually.
But this is tedious in such a way that i need to set all the property's .
Is there any other way to implement it. My main aim after submitting the form all the form fields should acquire their defaults without clicking any button to reset the form fields.