: Emi Lu em...@encs.concordia.ca
To: Struts Users Mailing List user@struts.apache.org
Cc: Dale Newfield d...@newfield.org
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
...@encs.concordia.ca
To: Struts Users Mailing List user@struts.apache.org
Cc: Dale Newfield d...@newfield.org
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 entire
Good morning,
your interceptor stack doesn't appear to be complete.
By adding the following codes into struts.xml, no exception anymore. But
the action page does *not* go to wait.jsp; but stays on the original
action class page.
interceptor name=execAndWait
The completeStack should be whatever your normal stack is, I think.
Dave
On Fri, Jun 3, 2011 at 9:57 AM, Emi Lu em...@encs.concordia.ca wrote:
Good morning,
your interceptor stack doesn't appear to be complete.
By adding the following codes into struts.xml, no exception anymore. But the
Hello,
The completeStack should be whatever your normal stack is, I think.
struts.xml
interceptor name=execAndWait
class=com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor/
action name=*ProcessAction method={1} class=ProcessAction
interceptor-ref
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:
On Fri, Jun 3, 2011 at 12:09 PM, Emi Lu wrote:
marquee width=60% behavior=scroll
font color=RED
Ew. Use something nice.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands,
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:
action name=*ProcessAction method={1} class=ProcessAction
interceptor-ref name=execAndWait
param name=delay2000/param
You didn't add exec-and-wait, you replaced your entire interceptor stack with
just the exec-and-wait interceptor.
-Dale
On Jun 2, 2011, at 3:35 PM, Emi Lu em...@encs.concordia.ca wrote:
Hello,
One action class to send emails to 50 users. Before action is done, I'd like
to show a waiting
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 almost the
10 matches
Mail list logo