Set the content length on your response. If your pages are less than some
threshhold it should set the content type automatically but this depends on the
servlet engine. JWS has a good explanation of this in their docs.
Bill
John Rodriguez <[EMAIL PROTECTED]> on 11/24/99 05:03:41 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Bill Kayser/Worldstreet)
Subject: keep-alive
Hi all,
Is it possible to use keep-alive ("connection","Keep-Alive") with servlets?
I have an applet and servlet that communicate using serialized objects. I
would like the socket which the HttpServletRequest/HttpServletResponse uses
to stay open. I have tried various ways but have not been able to get this
to work. Is this possible with servlets? If so, can you point me to a code
example?
If there is a way to get this working, will I have trouble with proxy
servers?
Thanks in advance,
John Rodriguez
___________________________________________________________________________
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
___________________________________________________________________________
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