Re: Warning message when execAndWait

2013-06-28 Thread Felipe Lorenz
1000 >>> 1000 >>> >>>/pages/wait.jsp >>> 3. I am using struts2.3.1.2 >>> >>> Thanks, >>> >>> >>> >>> >>> >>> From: Fe

Re: Warning message when execAndWait

2013-06-27 Thread ngarigarius
.1.2 >> >> Thanks, >> >> >> >> >> >> From: Felipe Lorenz >> To: Struts Users Mailing List ; Omar Ngarigari >> >> Sent: Thursday, June 27, 2013 4:27 PM >> Subject: Re: Warning message when ex

Re: Warning message when execAndWait

2013-06-27 Thread Felipe Lorenz
g struts2.3.1.2 > > Thanks, > > > > > > From: Felipe Lorenz > To: Struts Users Mailing List ; Omar Ngarigari > > Sent: Thursday, June 27, 2013 4:27 PM > Subject: Re: Warning message when execAndWait > > > Hello Omar, > > Is needed m

Re: Warning message when execAndWait

2013-06-27 Thread Omar Ngarigari
Users Mailing List ; Omar Ngarigari Sent: Thursday, June 27, 2013 4:27 PM Subject: Re: Warning message when execAndWait Hello Omar, Is needed more information, but I can guess some things: 1 - struts.dev is setted to false? 2 - are you using token interceptor? 3 - if yes, there is a token

Re: Warning message when execAndWait

2013-06-27 Thread Felipe Lorenz
://issues.apache.org/jira/browse/WW-1741 Att, Felipe Lorenz Em 27/06/2013, às 17:14, Omar Ngarigari escreveu: > Hello, > > Is anybody knows why I am getting the following warning message while waiting > page is displaying. (execAndWait)? > > WARN [org.apache.struts2.util.Toke

Warning message when execAndWait

2013-06-27 Thread Omar Ngarigari
Hello, Is anybody knows why I am getting the following warning message while waiting page is displaying. (execAndWait)? WARN  [org.apache.struts2.util.TokenHelper] Could not find token mapped to token name struts.token Thanks,

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

[OT] Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Dave Newton
On Fri, Jun 3, 2011 at 12:09 PM, Emi Lu wrote: >       > Ew. Use something nice. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
Hello, For people who would like to do similar action, my solution is by using the following: Issue: Send hundreds of emails (since our mail server, wait 50 seconds per 10 emails). Notify users that email action has not completed. Solution: == 1. "Send All" Button:

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
Hello, The "completeStack" should be whatever your normal stack is, I think. struts.xml class="com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor"/> 2000 500 /wait.jsp browse_action1 Tiles.xml == b

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Dave Newton
ess.jsp >> > > > >> >> On 06/02/2011 03:40 PM, Dale Newfield wrote: >>> >>> You didn't add exec-and-wait, you replaced your entire interceptor stack >>> with just the exec-and-wait interceptor. >> >> Can you provide more informat

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
e: You didn't add exec-and-wait, you replaced your entire interceptor stack with just the exec-and-wait interceptor. Can you provide more information please? http://www.mkyong.com/struts2/struts-2-execandwait-interceptor-example/ I setup almost the same example. The differences . my act

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Jeff Black
ction-success.jsp   jb /     From: Emi Lu To: Struts Users Mailing List Cc: Dale Newfield Sent: Thursday, June 2, 2011 3:37 PM Subject: Re: Call execAndWait but got NullPointerException ? On 06/02/2011 03:40 PM, Dale Newfield wrote: > You didn't add exec-and-wait, you replaced your entir

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Jeff Black
ction-success.jsp   jb / From: Emi Lu To: Struts Users Mailing List Cc: Dale Newfield Sent: Thursday, June 2, 2011 3:37 PM Subject: Re: Call execAndWait but got NullPointerException ? On 06/02/2011 03:40 PM, Dale Newfield wrote: > You didn't add exec-

Re: Call execAndWait but got NullPointerException ?

2011-06-02 Thread Emi Lu
On 06/02/2011 03:40 PM, Dale Newfield wrote: You didn't add exec-and-wait, you replaced your entire interceptor stack with just the exec-and-wait interceptor. Can you provide more information please? http://www.mkyong.com/struts2/struts-2-execandwait-interceptor-example/ I setup almos

Re: Call execAndWait but got NullPointerException ?

2011-06-02 Thread Dale Newfield
ting page. > > When I added execAndWait shown as the following: > > > 2000 > 500 > > /wait.jsp > > browse_action1 > ... > > > I got the following Error message returned. > > Could someone help what is missing? > > &

Call execAndWait but got NullPointerException ?

2011-06-02 Thread Emi Lu
Hello, One action class to send emails to 50 users. Before action is done, I'd like to show a waiting page. When I added execAndWait shown as the following: 2000 500 /wait.jsp browse_action1 ... I got the following Error message returned. Could someone help

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
te: > 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

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

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
. On Wed, May 5, 2010 at 5:55 PM, Dale Newfield wrote: > 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

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

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

ExecAndWait Error

2008-10-27 Thread Zoran Avtarovski
I¹m having an issue with the delay parameter on my execAndWait actions. I have set the delay to 8000 because my queries either take about 5 seconds or they take 2 minutes depending on he parameters. But I¹m finding the server isn¹t waiting 8 seconds before displaying the wait page. In fact it

execAndWait delay issue

2008-08-05 Thread daveck
ated! Thank you. 500 /actions/wait.jsp /actions/SomeClass-input.jsp /actions/SomeClass-success.jsp -- View this message in context: http://www.nabble.com/execAndWait-delay-issue-tp18832790p18832790.html Sent from the Struts - User mailing

Re: ExecAndWait (navigating back to the progress page)

2008-07-17 Thread Chase
hingy, I don't know how the return > SUCCESS is going to help the client, the client browser will wait for > the server to respond, if its too long it will actually get timed out. > The best solution is ajax. No, the execAndWait interceptor is made just for this. It takes a really

RE: ExecAndWait (navigating back to the progress page)

2008-07-17 Thread Jishnu Viswanath
22(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -Original Message- From: Chase [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2008 6:01 AM To: Struts Users Mailing List Subject: Re: ExecAndWait (navigating back to the progress pa

Re: ExecAndWait (navigating back to the progress page)

2008-07-17 Thread Chase
submission. This solution will make it impossible for a user to view the form again until their task is complete. The key is to always use a delay for the execAndWait interceptor. 500 The Action class looks something like: public class LongAction extends ActionSupport { private String

RE: ExecAndWait (navigating back to the progress page)

2008-07-17 Thread Karr, David
nd then implement an Ajax-based timeout to quickly check the status of the long-running process. > -Original Message- > From: Chase [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 16, 2008 4:23 PM > To: user@struts.apache.org > Subject: ExecAndWait (navigating back to th

ExecAndWait (navigating back to the progress page)

2008-07-16 Thread Chase
I want my users to be able to leave the wait page and return. Can this be done, what is the best way? I've got two actions. ActionA displays a form and the form submits to ActionB. ActionB is using the ExecAndWait interceptor. Right now users have to resubmit the form to get back to their s

Re: execAndWait losing form parameters

2008-04-25 Thread mojoRising
of my action being called twice? On a few random occasions the prepare method is only called once and on those occasions it appears to work fine...? -- View this message in context: http://www.nabble.com/execAndWait-losing-form-parameters-tp16851913p16898156.html Sent from the Struts - User mailing

Re: execAndWait losing form parameters

2008-04-25 Thread mojoRising
oRising wrote: > > I have a form that updates a user profile. When I add the 'execAndWait' > Interceptor it appears to work correctly - that is, the wait.jsp page > displays and then goes back to the results page. But, the request > parameters (those from the user profi

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 losing form parameters

2008-04-24 Thread mojoRising
I have a form that updates a user profile. When I add the 'execAndWait' Interceptor it appears to work correctly - that is, the wait.jsp page displays and then goes back to the results page. But, the request parameters (those from the user profile form that are being submitted) are ge

execAndWait and session access

2008-04-24 Thread mojoRising
I am trying to implement the execAndWait interceptor along with a custom authentication interceptor in an interceptor stack that most of my actions will call. I understand that the action being called needs to implement sessionAware if it wants to access the session. My question is: what about

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

ExecAndWait and Validation

2008-04-23 Thread volker
Hello s2-users, I have a quite interesting problem an hope, anyone of you could give me a hint: I am using the ExecAndWait-Interceptor to show a progress-page when searching for customers. If this search takes longer than a second, the progress page is shown. So far everything is fine. My

Re: [struts] help with execAndWait

2008-01-29 Thread Dale Newfield
Mazhar, Osman (Home Office) wrote: I turned debug level logging for struts and xwork packages. I see that the ParametersInterceptor is being called indeed for both scenarios (with or without execAndWait) However, one interesting thing is when I comment out the "delay" and "del

RE: [struts] help with execAndWait

2008-01-29 Thread Mazhar, Osman (Home Office)
I turned debug level logging for struts and xwork packages. I see that the ParametersInterceptor is being called indeed for both scenarios (with or without execAndWait) However, one interesting thing is when I comment out the "delay" and "delaySleepInterval" params

Re: [struts] help with execAndWait

2008-01-29 Thread Dale Newfield
Mazhar, Osman (Home Office) wrote: That is an interesting point. The bean is a hibernate object, however, I am not retrieving it from the database, but rather only trying to populate it from the form values. You should be able to tell from the call stack which interceptors have been called--ca

RE: [struts] help with execAndWait

2008-01-29 Thread Mazhar, Osman (Home Office)
ruts Users Mailing List Subject: Re: [struts] help with execAndWait Mazhar, Osman (Home Office) wrote: > I am trying to use the execAndWait interceptor. If this bean is retrieved from your DB, then it's likely the DB session is being closed. http://wiki.opensymph

Re: [struts] help with execAndWait

2008-01-29 Thread Dale Newfield
Mazhar, Osman (Home Office) wrote: I am trying to use the execAndWait interceptor. If this bean is retrieved from your DB, then it's likely the DB session is being closed. http://wiki.opensymphony.com/display/WW/HibernateAndSpringEnabledExecuteAndWaitInterceptor

help with execAndWait

2008-01-29 Thread Mazhar, Osman (Home Office)
Hello, I am trying to use the execAndWait interceptor. My struts.xml looks like: foo.jsp foo-success.jsp foo-wait.jsp foo.jsp foo.jsp Now in my action class, I have a bean with appropriate getter and setter methods on it. The foo.jsp has a form which is mapped to

Message Store + ExecAndWait Problem

2007-12-03 Thread Shahak Nagiel
I seem unable to persist messages to session using the Message Store interceptor ("store") in conjunction with the Execute and Wait interceptor. Here's what the configuration looks like: STORE When I remove the execAndWait interceptor line

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

execAndWait

2007-08-28 Thread stanlick
I am experimenting with the "wait page" and I have a situation. When my wait.jsp includes Please wait "/> everything is fine! When I take it out (to avoid the annoying flicker) it just sits on the wait page and never advances. Is the refresh in the required? The docs suggest it

[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