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?