JOSE ADRIANO BALTIERI a �crit :
>
> Hello list
>
> I'm needing to wait or sleep or yield during the service method.
>
> However, whenever I put a wait() in the middle of the service method,
> it seems that the transaction is interrupted and the browser receives an
> empty document. It appears to me that the service method was abandoned.
>
> Why do I need to do that ? Because the response is being provided by
> someone else, via a text file. So the servlet enters into a loop where it will
try to do reloads on the servlet with an ID until the answer came !
Denis
--
Denis Bucher, / [EMAIL PROTECTED] T�l. +41-22-8000625 \ Internet
Horus Networks / horus-networks.com Fax: +41-22-8000622 \ Services
/ http://www.horus.ch US Fax: (508) 437-1261 \ Provider
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html