+ Start a Discussion

Clearing of Struts forms on reset


can anybody help me with struts forms reset button. I wants all the fields to be cleared on pressing reset.

What i do is i fill up the form submit it if it has errors it shows me the html errors now i click on the reset button but the form fields values are not cleared i even wrote a javascript to clear them up but it was of no help.Please tell if anybody has some suggestions regarding it.

Thanks and regards,

Tran ManTran Man
Implement a reset method for your form. See

Message Edited by Tran Man on 03-02-2006 12:02 PM