Hey, This is a mistake I made at first too. One would assume that a reset button would call the reset method, but this is not the case. The reset method is called when an action is forwarding to a JSP with a form/form bean. It's mainly used to set the boolean properties associated with a checkbox to false, so that they are correctly updated. (Checkboxes kinda suck like that). The reset button is used differently. It only gets rid of changes made since you last submitted the form, meaning that it changes the fields back to what they were when you arrived at the form. The method and button are two completely different things. Does that make sense to you? I hope this helps.
~ Keith http://www.buffalo.edu/~kkamholz -----Original Message----- From: Gupta, Priyank x57787 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 4:33 PM To: 'Struts Users Mailing List' Subject: Reset button does not invoke the FormBean's reset() Hi All, I am not able to invoke FromBean's reset() method from the browser. I have a form with two buttons Submit and Reset. When I click the reset button I am not able to invoke the reset() of the FormBean. Any help will be great. Thanks Priyank -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>