I also have a long-running servlet. It has multiple threads, and one thread watches to see when the other is finished. I found that I could prevent a timeout by putting something in a loop that sleeps and waits for one thread to finish, that does something like this: out.println("<!--results pending; sending data so no timeout-->"); out.flush(); Luke Call EDM Group Micron Technology, Boise -----Original Message----- From: Benoit Mahe [mailto:Benoit.Mahe@sophia.inria.fr] Sent: Thursday, April 22, 1999 8:56 AM To: Venkatesh Kumar A G Cc: jigsaw Subject: Re: Time out __ URGENT Well, just put a very long timeout. But you are right I will add a flag to disable servlet timeout. Regards, Benoit. Venkatesh Kumar A G wrote: > Hello, > How do I disable the Timeout for servlets. > > Please help me. > > Venkatesh -- - Benoît Mahé ------------------------------------------------------- World Wide Web Consortium (W3C) Architecture domain - Jigsaw Engineer http://www.w3.org/People/Mahe - bmahe@w3.org ---------------------------------------------------------------------Received on Thursday, 22 April 1999 11:40:27 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:59:50 GMT