Hi.
I've been writing a servlet recently that outputs data to the browser and
to a file using the POST method. When doing do, Netscape Communicator 4.5
and MS explorer 3.02 gave an error of the kind "connection has been reset".
I'm testing with servletrunner. After a lot of time banging my head against
the walls I found that a way to correct this was using setContentLength
with the length of the string being returned to the browser. A search thru
the list archives confirmed this.
My questions is the following: why do I get the error message with MS IE
and Communicator but I don't get it with Netscape Gold (In fact, the
servlet under NS Gold works perfectly)? And another thing, from my
experiments with servletrunner and vqserver (a java based web server), and
what I read in the archives, it appears that this problem is bound to
servletrunner. Is this true? If I use another server and not servletrunner
would the setcontentlength still be needed?

Well, this has been an awfully long posting, so if you've read to this
point, thank you. If you can give any information on this, I will
appreciate it a lot.

___________________________________________________________________________
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