I think it's this simple:- (but experts please correct me if I'm wrong)
When your action is invoked if it specifies a form bean struts will call reset on it 
before
calling your perform method.
----------------------------
This is true when the action is invoked from HTTP either when your form is submitted 
(from submit
button) or when it's started thru a link (or redirected to). Struts tries to move the 
form fields
(from a submit) or request parameters (from a link) to the corresponding form bean 
properties
after the call to reset.

It's also true when you do a struts forwardTo(mapping, "someAction").
If someAction is associated with someForm, someForm.reset() is called before calling
someAction.perform(..).
Note the previous action may have left it's form bean in the request (it normally 
should delete
it), but struts won't call it's reset, only that of the new form.
Hope this makes sense,
keith.
 
--- rob <[EMAIL PROTECTED]> wrote:
> Under what circumstances is the reset() method of an ActionForm called on
> the struts programmers behalf without them (the struts programmer)
> explicitly calling reset() in their own code?
> 
> I can't quite figure out when it's being called for me and it's irritating
> the hell out of me :)
> 
> Thanks
> 
> rob
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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

Reply via email to