For resetting to the original value u can use reset() method
and for clearing the fields I think  javascript is the best option ..
cheers ..
Shakti

----- Original Message -----
From: "vasudevrao gupta" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 11:57 AM
Subject: Clearing all fields or resetting the form to original state


>
>
> Is there any option in struts to reset the screen to the initial state
> on click of a button and also
> clearing all the fields on the screen on click of button?
>
> Regards
> vasudevRao Gupta
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to