Hi to all! I'm facing the following problem. i have a servlet that serves a client request with a video clip. But this video clip is a product of another thread (transcoder). If the clip is not ready to be downloaded because the transcoder thread haven't finished its job, the client request fails! Any suggestions about how to deal with this case? how can i halt the response of the servlet until the transcoded clip is ready by the thread?
Thanks in advance! Antonis