This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.