r reply.
It would great if anyone provide example code/url/github/svn etc to achieve
this scenario.
~Sudhir
--
View this message in context:
http://struts.1045723.n5.nabble.com/Display-progress-bar-in-same-page-request-page-using-struts2-execAndWait-Interceptor-tp5711924p5711927.html
Se
Sir,
Thank you for your reply.
It would great if anyone provide example code/url/github/svn etc to achieve
this scenario.
~Sudhir
--
View this message in context:
http://struts.1045723.n5.nabble.com/Display-progress-bar-in-same-page-request-page-using-struts2-execAndWait-Interceptor
If you want to achieve this you must use Ajax, to stay on the same
page and wait for response from backend when validation pass. And
during that period you can show the progress bar.
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---
/success.jsp
The progress bar is in my wait.jsp.
Thanks,
Sudhir
--
View this message in context:
http://struts.1045723.n5.nabble.com/Display-progress-bar-in-same-page-request-page-using-struts2-execAndWait-Interceptor-tp5711924.html
Sent from the Struts - User mailing list archive at
Sorry about the delayed response. I have been busy with xmas crap (ba
humbug).
The way we implement an ajax solution is to create a new thread, with a flag
stored in the session and poll the server using a jquery ajax call every 10
seconds. The ajax call returns a json response which has the flag
e actually implemented an ajax solution which was
> far more elegant result.
>
Are there any pointers or code samples available to show how to implement an
ajax exec & wait?
Regards
--
View this message in context:
http://old.nabble.com/execAndWait-Interceptor-tp30418047p304526
We use the interceptor for interrogating a legacy database where we have
no control over the execution or timing of the query.
We basically have an API we call and then wait in hope.
I have to say that I've found the interceptor to be inconsistent at best.
For example we have some queries that a
On Dec 9, 2010, at 11:11 AM, stanl...@gmail.com wrote:
> Does anyone actually use this interceptor?
Extensively.
Any system that contains large amounts of data can have valid reasons for
needing this, and not just for reporting.
-Dale
On Thu, Dec 9, 2010 at 11:27 AM, wrote:
> I thought about that Dave, but isn't reporting an exception to the rule?
>
So what if it is? Long-running requests still exist (or may, depending on
architecture).
> Also, should a web framework try to play the role of a reporting solution?
>
As the fr
I thought about that Dave, but isn't reporting an exception to the rule?
Also, should a web framework try to play the role of a reporting solution?
I'm trying to get a handle on roles and responsibilities more than anything
else. Very few web developers like the Swiss Army Knife approach on accoun
But some requests just take that long, reporting in particular. I'm not sure
what that has to do with execAndWait in particular, though... I'd rather do
something Ajaxy myself, but that's kind of a separate issue.
Dave
On Thu, Dec 9, 2010 at 11:11 AM, wrote:
> Does anyone actually use this inte
Does anyone actually use this interceptor? I have a team asking me about
it's use in production and how this solution would compare to a jQuery
solution. I played around with it lst night and am skeptical about it. For
one thing, the documentation says
"The ExecuteAndWaitInterceptor is great fo
Thanks Dale, that was a very informative mail. I used chain result type just
for a better separation of actions and till
now it did not seem to have any undesirable effect. Anyway I 'll try a new
approach to the problem and I 'll avoid using
chain result type. Thanks all for the help.
On Wed, May
I believe that your problem isn't with execAndWait -- it's with the
chain result type. The way that execAndWait works is that there's only
one job runnable at a time in any given session with any given action
name. The intermediate requests don't need the arguments as it's just
using the acti
uests, period. Either you use URL
rewriting to pass parameters from one request to the next or you use
session attributes. I personally prefer the latter. I'm not too familiar
with the ExecAndWait interceptor but i would not be surprised if it does
not work with URL rewriting at all, so you may
I can't resolve and I would appreciate
>> your
>> help.
>> I am using the struts2 execAndWait interceptor when I submit a form on my
>> site.
>> Below is the relevant struts.xml snippet
>>
>>
>>
>>
>>
can't resolve and I would appreciate your
help.
I am using the struts2 execAndWait interceptor when I submit a form on my
site.
Below is the relevant struts.xml snippet
/jsp/unscheduled.jsp
Process
Hi,
I have an issue in my code that I can't resolve and I would appreciate your
help.
I am using the struts2 execAndWait interceptor when I submit a form on my
site.
Below is the relevant struts.xml snippet
/jsp/unschedule
Hello,
I use a execAndWait interceptor in my struts2 app. I have action which does a
database query which takes a long time.
The interceptor prevent a session timeout.
The problem is that I need to run following functions in my action class.
request.getContextPath(); //return null
HttpSession
Hi,
I have to generate a report and while it is being generated I need to show a
waiting page.
My xml file has:
tiles.irgenerarpartes.wait
application/zip
ficheroZip
filename="p
akash agrawal wrote:
Hi,
When I use execAndWait interceptor and set some request attribute in my action,
I get NPE:
java.lang.NullPointerException
at org.apache.catalina.connector.Request.setAttribute(Request.java:1376)
at
Hi,
When I use execAndWait interceptor and set some request attribute in my action,
I get NPE:
java.lang.NullPointerException
at org.apache.catalina.connector.Request.setAttribute(Request.java:1376)
at
org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java
is.SUCCESS;
}
public void setServletRequest(HttpServletRequest httpServletRequest) {
request = httpServletRequest;
}
}
I spend 3 hours before guess to move from "II" to "I"
?
--
View this message in context:
http://www.nabble.com/-S2--ExecAndWait-intercepto
I found a strange behaviour in action after execAndWait interceptor.
I have
1. <action name="doSearch" class="s2.action.SearchAction" >
<interceptor-ref name="basicStack"/>
<interceptor-ref name="execAndWait">
Hi,
I have faced the same problem..
But i am successfully able to crop it just by adding "basicStack"
interceptors exact before "execAndWait".
E.g:-
Best Regards,
Jignesh
mleneveut wrote:
>
> Hi,
>
> I try to add t
hi Antonio,
It works like a dream! :)))
Non ho visto quella, ma adesso funziona a posto :)
Grazie mille ancora ed buena serata,
saluti,
Giovanni
Antonio Petrelli wrote:
2007/10/3, Giovanni Azua <[EMAIL PROTECTED]>:
You have no meta refresh, just add:
"/>
2007/10/3, Giovanni Azua <[EMAIL PROTECTED]>:
>
>
>
> content="text/html; charset=iso-8859-1" />
>
>
> @import "css/screen.css";
> @import "css/main.css";
> @import "css/menu.css";
>
>
>
hola antonio,
Please find all the information below.
Muchas gracias por adelantado!
regards,
Giovanni
The tiles definition is:
*
*
The requestWait.jsp page is
2007/10/3, Giovanni Azua <[EMAIL PROTECTED]>:
>
> a) Using tiles the delaySleepInterval is ignored and the wait page never
> refreshes i.e. when SimulationRunAction completes it is never redirected
> to success result.
Can you post the Tiles definition and the JSP page in which you put the meta
r
hi,
I have the struts.xml definition as shown below that uses execAndWait
interceptor and Tiles. The problem is that either:
a) Using tiles the delaySleepInterval is ignored and the wait page never
refreshes i.e. when SimulationRunAction completes it is never redirected
to success result.
b
Hi,
I try to add the execAndWait interceptor in my application. But now the
request.getSession() returns null so my app crash in the first Action.
What did I miss
I really need help in this. Do I need to use spring with this ?? I am
missing something ?
Mansour wrote:
It's really funny:
If I get the waiting screen it stays there and no further thing is
rendered. If I click refresh, the results I am expecting are
displayed. If I click refresh again the
It's really funny:
If I get the waiting screen it stays there and no further thing is
rendered. If I click refresh, the results I am expecting are displayed.
If I click refresh again the waiting, another refresh gives the results.
Between each refresh there's around 30 seconds, and the operatio
It's not working. The only thing that is working is the execute part. lol
It waits there for ever, and the page doesn't display the action
results. It only shows the waiting page. Other actions just crach.
/pages/wait.jsp
34 matches
Mail list logo