I have a spot in my servlet where I would like to wait for another computer to process a request. This request is asynchronous and I have to wait for the output before I can continue. When I try to put a wait( 1000 ) line in my code I get the exception that I am not the owner of the current thread. How can I set up a wait so I don't burn CPU in a tight loop?
Robert S. Harper Senior Engineer 1100 East 6600 South, Suite 300 Salt Lake City, UT 84121-7411 801.265.8800 ex. 255
