Null Pointer Exception After calling Execute And Wait Interceptor

2010-01-06 Thread steff_uk
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

Re: wait interceptor

2008-10-07 Thread Paweł Wielgus
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. > > >

wait interceptor

2008-10-07 Thread Hardik Shah
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-22 Thread Jeromy Evans
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Burak Doğruöz
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Dave Newton
--- 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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Burak Doğruöz
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Burak Doğruöz
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Dave Newton
--- 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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Jeromy Evans
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Burak Doğruöz
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Giovanni Azua
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

Re: Execute and wait interceptor and calling an action more than once

2008-07-21 Thread Jeromy Evans
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 and calling an action more than once

2008-07-21 Thread Burak Doğruöz
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

Re: Does Execute and Wait Interceptor work with ServletRequestAware interface?

2008-05-06 Thread Laurie Harper
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

Does Execute and Wait Interceptor work with ServletRequestAware interface?

2008-05-06 Thread mojoRising
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