When will reset and validate methods call in struts action forms  
Author Message
ramakrishna





PostPosted: 2006-9-13 23:20:00 Top

java-programmer, When will reset and validate methods call in struts action forms Hi all,
when will the reset and validate methods call in struts action form?

 
Babu Kalakrishnan





PostPosted: 2006-9-14 1:55:00 Top

java-programmer >> When will reset and validate methods call in struts action forms ramakrishna wrote:
> Hi all,
> when will the reset and validate methods call in struts action form?
>

I think this is clearly documented in the Struts documentation. reset()
is called before the form is populated with parameters from the incoming
request, and validate() is called after populating it.

Struts being an open source project, you can always look at the source
code as well. Look at the flow in the process() method of the
RequestProcessor class.

BK