hi,
I think that actually you can run more than one execAndWait at the time
for the same Session, the problem though is that you have no guarantee
on which result will be returned to which browser e.g.
Session 1 - browser 1 - triggers execAndWait => gets result of action
triggered by Browser 3
Session 1 - browser 2 - triggers execAndWait => gets result of action
triggered by Browser 1
Session 1 - browser 3 - triggers execAndWait => gets result of action
triggered by Browser 2
This is a documented limitation of execAndWait and I moved away from it
also because of this reason.
HTH,
regards,
Giovanni
Burak Doğruöz wrote:
Hi,
Our application lets user to run 2 (or more) copies of same action at the
same time (possibly with different parameters) in a frameset.
In execute and wait interceptor documentation (
http://struts.apache.org/2.x/docs/execute-and-wait-interceptor.html), it
says that execute and wait interceptor works on a per-session basis and the
same action name cannot be run more than once at a time in a given session.
So how can i extend this interceptor so i can call same action more than
once at the same time?
Is it possible to trigger an action with a name template? For example, i
call myAction1, myAction2 simultaneously which all point to myAction but
stored as separately for execute and wait interceptor.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]