Hi ye,
I have an action form with submit & reset buttons.
In the form been class, I do declare the reset method to clear up all the
text fields.

Here is the situation, after filling in some data into some text field, I
select the Reset button. The reset method is called, but those text fields
doesn't clear up.
Could anyone tell me why??

Cheers,

Jason
************The reset method********************

public void reset(ActionMapping mapping,
                                   HttpServletRequest request){
                firstName = null;
                lastName = null;
                userName = null;
                password = null;
                passwordCheck = null;
                email = null;
                phone = null;
                fax = null;
                registered = false;
                System.out.println("Call reset method in Form...");
        }

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

Reply via email to