File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Follow up question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Follow up question" Watch "Follow up question" New topic

Follow up question

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
Hi again n hope not bothering again but have another question. How can I make the servlet wait until there is a definite result coming from another server. Right now i use Thread.sleep(10000) but the time the result arrive is not always consistent. How can i make sure the servlet will wait until the result finally arrive.
Any ideas n suggestions?
I agree. Here's the link:
subject: Follow up question
It's not a secret anymore!