This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Follow up question" Watch "Follow up question" New topic
Author

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?
 
jQuery in Action, 3rd edition
 
subject: Follow up question
 
It's not a secret anymore!