I CAN'T split my processing into small chunks (and then I need a cleint
application, which is not an ooption). TEll me I'm using JavaWebServer 2.0,
where do I set the timeout ?? And when I've set the timeout, doesn't the
cleint (in this case the browser) have a tiemout as well which will hinder
this solution?

Thanx


Sean.

-: Sean Snyders
-: mailto:[EMAIL PROTECTED]        www.cs.sun.ac.za/~snyders
-: Computer Science Department       ph: +27-21-808-4393
-: University of Stellenbosch               fax: +27-21-808-4416
-: Republic of South Africa

-----Original Message-----
From: Rishi Asthana <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 14 January 2000 04:01
Subject: Re: Timing out of response data


>If you cannot split your processing into smaller chunks of operation ....
then
>probably the other way to try out is to set the TIMEOUT (or the
equivalent ) in
>your web server settings. Besides that i would like to know myself what we
can
>do.
>I got the same problem and we had a mix of the above mentioned solution and
it
>worked perfectly well for me.
>
>Sean Snyders wrote:
>
>> Hi,
>>
>> The following situation exists:
>>
>> I have a servlet that answers a request from a browser (the browser
sending
>> a request eg:
>>
http://host:8080/servlet/myServlet.class?QueryField=some_param_here)
>> I then have ALOT of information to process and as they are processed I
write
>> them to the OutputStream
>> of the response as such:
>> first getting the outputstream:
>>             PrintStream outputStream = new
>> PrintStream(response.getOutputStream());
>> I then write to the stream like this:
>>             outputStream.println("<br> FINITO !");
>> But this all occurs during processing done by my servlet.
>>
>> My browser, during all of this comotion, says "waiting for reply", is
this
>> correct, because I get a TIMEOUT error
>> which terminates my servlet? Where does this error originate? Whilst I am
>> writing to the outputstream the output doesn't appear
>> on the browser. Only when the service method ends (when it doesn't
timeout)
>> it all appears on the browser. I've tried flushing the stream but to no
>> avail. Why is this ?
>>
>> PLEASE HELP.
>>
>> Thanx.
>>
>> Sean.
>>
>> -: Sean Snyders
>> -: mailto:[EMAIL PROTECTED]        www.cs.sun.ac.za/~snyders
>> -: Computer Science Department       ph: +27-21-808-4393
>> -: University of Stellenbosch               fax: +27-21-808-4416
>> -: Republic of South Africa
>>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to