struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalra, Ashwani" <>
Subject RE: why action calling is occuring twice !
Date Wed, 21 Feb 2007 05:59:00 GMT

You got it right. I was facing same problem some time back. It was
happening because of submission of form twice, with Javascript and form

-----Original Message-----
From: Christopher Schultz [] 
Sent: Wednesday, February 21, 2007 3:43 AM
To: Struts Users Mailing List
Subject: Re: why action calling is occuring twice !

Hash: SHA1


Rambir Singh wrote:
> In the above setting the Action is going to be called two times 
> because of that the performance of application is getting slow.

Are you using javascript to submit a form? If so, don't forget that you
should add a "return false;" to a submit button that uses javascript to
submit a form. Otherwise, the browser will submit the form twice.

- -chris

Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message