> So my question is: > > Do I jave to use a javascript function? > Is it possible to map <html:reset value="reset"/> > with the reset-method in the ActionForm? > I didn't manage this.Thanks for any advice > > Nice greetings
You need to reset form - after submiting form instance with data is still in the request when it's forwarded to form... There are several solutions: If you validate manually (by calling validate() method within action): 1. call form's reset() method if validation fails or 2. set redirect=yes for forward mapping leading from form validation action to form displaying action If you validate it by extending ValidatorForm - add something like this to your form's validate method: ActionErrors toRet = super.validate(); If(!toRet.isEmpty()) reset(); Return toRet; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]