1000
>>> 1000
>>>
>>>/pages/wait.jsp
>>> 3. I am using struts2.3.1.2
>>>
>>> Thanks,
>>>
>>>
>>>
>>>
>>>
>>> From: Fe
.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
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
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
://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
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,
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
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
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:
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
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
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
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
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-
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
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?
>
>
&
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
70 matches
Mail list logo