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
action.


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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rambir,

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF23KH9CaO5/Lv0PARAtj0AKCz874bBAeGtECwiTfiKEcf072t7QCeLW07
o/k4zGpj6WQdL93Ht0jnGjE=
=mIEf
-----END PGP SIGNATURE-----

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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to