Hello,
I am not able to find any mention of this topic, or even if it is really
Struts 2-related.
I have a view which calls two actions using s:action. The methods that
are called in the domain of the actions take different times to execute.
I would like my actions to be run parallel. I.e.
You can achieve the outcome you desire by using AJAX instead of the
s:action tag. Here is an (untested) jquery example -
div id=remoteAction1/div
div id=remoteAction2/div
script type=text/javascript
$(document).ready(function() {
$(remoteAction1).load(s:url action=action1 /);
Thanks I'll test your solution, and see how it works.
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: lundi 11 juillet 2011 16:52
To: Struts Users Mailing List
Subject: Re: Asynchronous Display of Action Results
You can achieve the outcome you desire by using
On Mon, Jul 11, 2011 at 4:51 PM, Baubak Gandomi wrote:
Thanks I'll test your solution, and see how it works.
It's the only solution there is.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
regards
Baubak
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: lundi 11 juillet 2011 16:52
To: Struts Users Mailing List
Subject: Re: Asynchronous Display of Action Results
You can achieve the outcome you desire by using AJAX instead of the
s:action tag. Here
5 matches
Mail list logo