Why using another Thread ? For the moment, this tag is usefull only if the long operation is coded in the JSP, so after the forward call. Frederico Schuh <[EMAIL PROTECTED]> a �crit : I don't think that works... if another thread forwards to a "please wait" page and the page is displayed on the client side, the original thread will not be able to forward again because the connection will already be closed...
--- "emmanuel.boudrant" escreveu: > > 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: > > LONG OPERATION > > available on > http://www.mycgiserver.com/~eboudrant/#taglibs > Emmanuel > "Jesse Alexander (KADA 12)" > 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 ! > ===== ---------------------------------------- Frederico Ferro Schuh [EMAIL PROTECTED] ICQ: 20486081 _______________________________________________________________________________________________ Yahoo! Empregos O trabalho dos seus sonhos pode estar aqui. Cadastre-se hoje mesmo no Yahoo! Empregos e tenha acesso a milhares de vagas abertas! http://br.empregos.yahoo.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en fran�ais !

