struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samere, Adam J" <asam...@paychex.com>
Subject RE: Action called multiple times
Date Tue, 11 Jul 2006 14:49:05 GMT
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:ulrich.elsner@gmail.com] 
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


-----------------------------------------
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message