Long shot, but I once had something similar....

Are you using <html:image oncClick="submit() /> or similar?

If so, an html:image renders an input type=image tag which automaticall
submits the form. If you are then calling a submit() method which submits,
the form is submitted twice and the execute of the subsequent action is
called twice.

If not, it could still be that you're pressing an input of type submit which
would do the same thing.

Just a thought...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 21 April 2004 15:21
To: [EMAIL PROTECTED]
Subject: execute() method running twice


Hi there .. :-)

Wonder if anyone could help me with a strange problem I can't seem to solve.

I have a form tied to an Action. The form is submitted through a Javascript
call from the 
JSP page.

I was getting some strange behaviour, so I added a bit of debug code, and
discovered 
that the execute() method in the action is being called twice each time the
form is 
submitted.

Has anyone come across this before? 




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


------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.

------------------------------------------------------------------------


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

Reply via email to