Hi hedrik,
thanx for the reply. One more basic question -- I want the browser and the
Apache server talk SSL while transferring data. Can anyone tell me how do I
do that?? like what I have to do in the server side and what I have to do in
the Client/browser side.
TIA
Anamitra

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Hendrik Schreiber
Sent: Wednesday, November 03, 1999 7:02 AM
To: [EMAIL PROTECTED]
Subject: Re: keep alive connection


Hi!

I haven't tried it with URLConnection, but you should set the Header
"Connection" to "Keep-Alive". Note that JDK 1.3 will support HTTP/1.1
clients
and the whole keep-alive thing changes, as in HTTP/1.1 persistent
connections
are the default behavior. See RFC 2616 for details.

-hendrik
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  tagtraum industries      http://www.tagtraum.com/
  jo!                 small&smart 2.1 servletengine
  Java Server & Servlets    The German servlet book
  The WebApp Framework        http://www.webapp.de/



Anamitra wrote:

> Hi all,
> I am trying to write a standalone HttpClient which can talk to the
> webserver/servlet. I am trying to use "keep alive" connections. For this I
> have set the keep alive connection property in the Webserver (Apache). But
I
> think from the client also something has to be done to ask the server not
to
> close the connection. I am using the URLConnrction class. Do I need to set
> something from the client side for that?if yes how?
> TIA
> Anamitra
>

___________________________________________________________________________
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