Or...I developpe a custom tag for long operation....but there is a constaint : the 
long operation must be in the JSP body, not in an Action.
usage:
<xxx:loagingtag message="please wait">
LONG OPERATION
</xxx:loagingtag>
available on http://www.mycgiserver.com/~eboudrant/#taglibs
Emmanuel
  "Jesse Alexander (KADA 12)" <[EMAIL PROTECTED]> a �crit : Hi,

spawn of a thread doing the work. Then forward to a page containing the 
"please wait"-message and a refresh-tag (making the browser do another
request, say every 15 seconds...). In the then called Action check for the 
state of the background thread and forward either to the result- or
the pleasewait-page...

hope this helps
Alexander

-----Original Message-----
From: Greg Hess [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 17. April 2002 21:26
To: Struts Mail List
Subject: Handling long processes?


Hi,

I have an Action that takes a minute or two to process and I need to display
a "please wait page" to my clients while processing their request. What is
the best way to provide this functionality?

Thanks,
Greg


--
To unsubscribe, e-mail: 
For additional commands, e-mail: 

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en fran�ais !

Reply via email to