Also, if you are submitting the request with script (i.e. onclick event
of a button) it's possible that the browser is submitting the form and
the call for the onclick. 

-----Original Message-----
From: Ulrich Elsner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 11, 2006 10:35 AM
To: Struts Users Mailing List
Subject: Re: Action called multiple times

Hi,

just to be sure: in the Action, you do a

return null;

if everything is successful?
Everything else looks ok [1] or at least shouldn't trick Struts into
rerunning the action. You might want to set the ContentType in the
response, though.

Ulrich

[1] that is, looks just like my code, which just works with no
complaints.

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


-----------------------------------------
The information contained in this message may be privileged,
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or any employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.

Thank you. Paychex, Inc.


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

Reply via email to