[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
The "completeStack" should be whatever your normal stack is, I think. Dave On Fri, Jun 3, 2011 at 9:57 AM, Emi Lu 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 > action page does

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
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. class="com.opensymphony.webwork.interceptor.ExecuteAndWaitInt

RE: JSON & ModelDriven

2011-06-03 Thread CRANFORD, CHRIS
This particular case is somewhat unique. It is a password reset screen and in this case, the model is a User object that is being updated. Depending on the selections made by the administrator in the password options screen, the User entity is either updated with a temporary password generat

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Jeff Black
Hi Emi -- Like Dale said your interceptor stack doesn't appear to be complete.   Below is a code-frag from the following link: http://struts.apache.org/2.2.1/docs/execute-and-wait-interceptor.html               1000     50         longRunningAction-wait.jsp     longRunningAction-succes

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Jeff Black
Hi Emi -- Like Dale said your interceptor stack doesn't appear to be complete.   Below is a code-frag from the following link: http://struts.apache.org/2.2.1/docs/execute-and-wait-interceptor.html   1000 50 longRunningAction-wait.jsp longRunningAction-succes