Hi Vic
The action perform method is called once for every submission..

When u hit the submit button the ActionFromBean is populated and then
the controller passes on the control to the Action class perform
method. 

U then return any appropriate action forward method from the same
perform method . 

I am not sure why u get 2 calls to the perform method.. Maybe posting
sections of code can help..

Anand

On Fri, Feb 23, 2001 at 01:38:18PM -0500, Fickes, Vic wrote:
>Hi,
>I am trying to understand the sequence of events that take place using a
>simple test <html:form>.  When the form's action is submitted, it causes the
>Action.perform() method to be called twice in the same request.  I thought
>it might have something to do with the forward that is returned from
>perform() so I returned null, and it still does it.  Is this the expected
>behavior?  I don't think this is happening in the example application, so it
>must be something I am doing, but I can't figure out what.  Any ideas would
>be appreciated.
>Thanks,
>Vic

Reply via email to