| Author |
Reset the properties of Action class in struts2
|
kanthi kiran
Greenhorn
Joined: Apr 04, 2008
Posts: 12
|
|
hi guys,
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.
|
 |
 |
|
|
subject: Reset the properties of Action class in struts2
|
|
|