Execute And Wait AJAX

2011-01-28 Thread Emil Dombagolla
Dear all , I have used Execute and Wait interceptor for my data search. wait page is show the data found currently. but the problem is the page is refreshed since i used http meta tag to update the current state. i want to make the wait page AJAX. then without refreshing the page i can use the

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

Execute and Wait Issues

2008-12-09 Thread Zoran Avtarovski
I¹m having trouble getting the execute and wait interceptor to work as needed. We have a process that in almost all cases either takes about 6 seconds to complete or 40 seconds to complete. I added a delay parameter to my execAndWait configuration of 1 which I meant thought it would wait 10

Execute and Wait Question

2008-10-16 Thread Zoran Avtarovski
I have to build a list of display items from a legacy system which takes a while to process. I¹ve set up the execute and wait interceptor and that part of it is working well. Where I¹m running into problems is when the long running process is complete and sitemesh. My decorator file has the

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

2008-07-22 Thread Jeromy Evans
Burak Doğruöz wrote: 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

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

Execute And Wait

2008-06-13 Thread Ian Meikle
Hi, Does anyone have any experience of using the execute and wait interceptor in a clustered environment. I see the interceptor put the BackgroundProcess object in the session. This object has a reference to among other things the action. If the app server is using a DB to share session

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

execute and wait fails on browser refresh

2007-09-17 Thread Leonidas Papadakis
Greetings to all, i have implemented the execute and wait capability of struts2. The first time is ran everything is smooth. The browser (firefox) url contains instead of "&" , "&" generated by the tag. If i try to refresh the browser everything gets mixed up