In your action class that calls the bean to do the work, you could pass a
reference to the HttpSession. The work bean would then notify the session
when it is done working. Then have the page that displays the
"processing..." message auto-refresh itself, calling an action class that
checks the HttpSession to see if the process has finished. That is, use the
HttpSession as a message queue to facilitate communication between the work
bean and the action class that is diplaying the processing message page.

HTH

> -----Original Message-----
> From: Anand Raman [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 24, 2001 6:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: redirect question
>
>
> I guess this can be typically achieved thru javascript.. Though not very
> sure u can try out the layers tutorial on http://developer.netscape.com/
> for more information..
>
> Hope this helps
> Anand
> On Thu, Feb 22, 2001 at 03:02:24AM -0600, Arnold Cano wrote:
> >i have run into a bit of a problem.  my action class calls beans that
> >'could' take a few seconds at least to process and return.  is
> there a way
> >in struts to have a redirect or forward to a page that says
> 'processing...'
> >while the beans are busy and then forward correctly once they
> are done?  has
> >anyone else run into a similar problem?
> >
> >-arnold
> >
>
>

Reply via email to