Re: Display progress bar in same page (request page) using struts2 execAndWait Interceptor

2013-03-05 Thread Eric Reed
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

Re: Display progress bar in same page (request page) using struts2 execAndWait Interceptor

2013-03-05 Thread SudhirSahoo
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

Re: Display progress bar in same page (request page) using struts2 execAndWait Interceptor

2013-03-04 Thread Lukasz Lenart
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/ ---

Display progress bar in same page (request page) using struts2 execAndWait Interceptor

2013-03-04 Thread SudhirSahoo
/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

Re: execAndWait Interceptor

2010-12-16 Thread Zoran Avtarovski
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

Re: execAndWait Interceptor

2010-12-14 Thread RogerV
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

Re: execAndWait Interceptor

2010-12-13 Thread Zoran Avtarovski
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

Re: execAndWait Interceptor

2010-12-09 Thread Dale Newfield
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

Re: execAndWait Interceptor

2010-12-09 Thread Dave Newton
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

Re: execAndWait Interceptor

2010-12-09 Thread stanlick
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

Re: execAndWait Interceptor

2010-12-09 Thread Dave Newton
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

execAndWait Interceptor

2010-12-09 Thread stanlick
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

Re: ExecAndWait interceptor parameters lost

2010-05-06 Thread Yiorgos Panayiotakis
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

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Dale Newfield
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

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Robert Graf-Waczenski
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

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Yiorgos Panayiotakis
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 >> >> >> >> >>

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Alex Rodriguez Lopez
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

ExecAndWait interceptor parameters lost

2010-05-05 Thread Yiorgos Panayiotakis
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

execAndWait interceptor and SessionAware

2009-10-16 Thread Juergen.Leeb
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

ExecAndWait interceptor + stream

2009-02-18 Thread Francisco Exposito
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

Re: execAndWait interceptor and setting request attribute throws NPException

2008-04-24 Thread Laurie Harper
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

execAndWait interceptor and setting request attribute throws NPException

2008-04-23 Thread akash agrawal
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

Re: [S2] ExecAndWait interceptor : request.getSession() null

2007-10-10 Thread Igor Vlasov
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

NULL Session object after execAndWait interceptor

2007-10-10 Thread Igor Vlasov
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">

Re: [S2] ExecAndWait interceptor : request.getSession() null

2007-10-10 Thread jignesh(india)
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

Re: execAndWait interceptor and Tiles problem ..

2007-10-03 Thread Giovanni Azua
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: "/>

Re: execAndWait interceptor and Tiles problem ..

2007-10-03 Thread Antonio Petrelli
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"; > > >

Re: execAndWait interceptor and Tiles problem ..

2007-10-03 Thread Giovanni Azua
hola antonio, Please find all the information below. Muchas gracias por adelantado! regards, Giovanni The tiles definition is: * * The requestWait.jsp page is

Re: execAndWait interceptor and Tiles problem ..

2007-10-03 Thread Antonio Petrelli
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

execAndWait interceptor and Tiles problem ..

2007-10-03 Thread Giovanni Azua
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

[S2] ExecAndWait interceptor : request.getSession() null

2007-08-10 Thread mleneveut
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

Re: execAndWait INTERCEPTOR

2007-05-20 Thread Mansour
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

Re: execAndWait INTERCEPTOR

2007-05-19 Thread Mansour
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

execAndWait INTERCEPTOR

2007-05-19 Thread Mansour
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