"Booth, Peter" wrote:

> Are you saying that for content-types of both text
> and serialized object that I need to explicitly
> set content length to ensure that HTTP1.1 connections
> will be used?
>

Sometimes, the servlet engine can help you out -- either the message is so
short that it fits within the servlet engine's buffers (so it can set the
content length for you) or else the servlet engine supports chunked encoding
for you.  Otherwise, you must explicitly set the content length to ensure
HTTP/1.1 persistent connections (and, of course, your client has to support
this as well).

Craig


>
> Peter Booth
>
> > -----Original Message-----
> > From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]]
> > Sent: Sunday, December 26, 1999 11:57 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: Sending:(object) Applet to Servlet &(HTML) Servlet to
> >
> [snip]
> > * If you set the content length as well as the content type,
> >   your servlet engine has the option to take advantage of
> >   persistent connections defined in HTTP/1.1, which will
> >   improve performance.
> >
> >
>
> This message is for the named person's use only.  It may contain
> confidential, proprietary or legally privileged information.  No
> confidentiality or privilege is waived or lost by any mistransmission.
> If you receive this message in error, please immediately delete it and all
> copies of it from your system, destroy any hard copies of it and notify the
> sender.  You must not, directly or indirectly, use, disclose, distribute,
> print, or copy any part of this message if you are not the intended
> recipient. CREDIT SUISSE GROUP, CREDIT SUISSE FIRST BOSTON, and each of
> their subsidiaries each reserve  the right to monitor all e-mail
> communications through its networks.  Any views expressed in this message
> are those of the individual sender, except where the message states
> otherwise and the sender is authorised to state them to be the views of
> any such entity.
>
> ___________________________________________________________________________
> 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

Reply via email to