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