Hi ,
Iam beginner in Struts2,
iam having query on Execute and wait Interceptor ,
my code flow is like this
Login->Wait Interceptor->Menu/Fail.jsp
I added Interceptor in Struts.xml
Wait.jsp
menude
jsp when action is on process)
>
> --
> View this message in context:
> http://www.nabble.com/wait-interceptor-tp19872439p19872439.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>
it is possible to show wait.jsp in s2.0.11 between from one action to another
execution process
(means show my wait.jsp when action is on process)
--
View this message in context:
http://www.nabble.com/wait-interceptor-tp19872439p19872439.html
Sent from the Struts - User mailing list archive
tween action instances at all in S2 unless
you introduce the coupling yourself
(or use the exec&wait interceptor).
The "waiting page" would instead be a client-side controlled indicator
displayed while waiting for the async response. It's a common pattern
intended for exactly
I don't think that it can be done with an ajax approach. With ajax or not,
concurrent requests for the same action name returns first action's result.
I tried this simple scenario with an action which outputs its query
parameter. I also added a thread.sleep in execute method to gain extra time
to
--- On Mon, 7/21/08, Burak Doğruöz wrote:
> The constraint here is about ExecAndWaitInterceptor storing
> and returning multiple copies of one certain action. This
> constraint is already in the documentation. We are looking
> for a turn around.
I was referring to the better solution, Jeremy's Aja
The constraint here is about ExecAndWaitInterceptor storing and returning
multiple copies of one certain action. This constraint is already in the
documentation. We are looking for a turn around.
For example if we open 2 browsers (which share the same session) and call
same action (which has ExecA
So, how to override this ExecAndWiatInterceptor behaviour? Is it possible to
map by some key other than action name?
If we use wildcards while defining action mapping, can we bypass this
constraint? This way we can call myAction1, myAction2 and myActionRandomN
which trigger myAction.action. Does E
--- On Mon, 7/21/08, Burak Doğruöz wrote:
> I think, even with an ajax approach, concurrent requests
> for same action would result in unexpected output as these
> actions are stored by same action name at background.
Each request would get its own action instance. The DOM element being updated
Burak Doğruöz wrote:
Thanks for your response,
I think, even with an ajax approach, concurrent requests for same action
would result in unexpected output as these actions are stored by same action
name at background. So in fact this is not a presentation constraint but a
processing constraint. W
Thanks for your response,
I think, even with an ajax approach, concurrent requests for same action
would result in unexpected output as these actions are stored by same action
name at background. So in fact this is not a presentation constraint but a
processing constraint. We can neither prevent c
is 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-interce
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
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
mojoRising wrote:
I am using the Execute and Wait Interceptor on my login action. This action
needs to access the HTTPRequest object so that it can get the HTTPSessionId,
and the request headers and store all of this in the database as well as
putting the userObject in the session itself
I am using the Execute and Wait Interceptor on my login action. This action
needs to access the HTTPRequest object so that it can get the HTTPSessionId,
and the request headers and store all of this in the database as well as
putting the userObject in the session itself.
Documentation says that
16 matches
Mail list logo