I'm guessing the operation you're waiting for can take quite a while to
complete.  Otherwise modifying the architecture of this probably
wouldn't be worth it.

You might consider the flow of the original action to simply report a
simple "submitted and processing" result, and 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 the progress page)
> 
> 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 status page (possibly resubmitting the form if 
> ActionB has finished). How can I have ActionA display the 
> wait page of ActionB instead of the form?
> 
> Also, is there anyway to make the ExecAndWait interceptor 
> function per context instead per session? This is a low 
> volume internal app.
> 
> Thanks,
> Chase
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to