"Andr�s Aguiar" wrote:
> But the browser does only one http request for a simple servlet, doesn't it?
> If I only have text in my servlet output (no <IMAGE>, etc), how can it help?
>
If you only make one request to one servlet in your entire life, then no it
won't help.
If you make additional requests to the same servlet, or to different servlets
(or HTML pages, or images, or whatever) on the same server, then the fact that
you are not creating a TCP connection every time can help a lot.
As you are surfing around the web some time, pay attention to the status line
when you click on a link. You know how it goes from "contacting host xxx" to
"host contacted, waiting for reply"? A pretty good chunk of the time between
these messages is setting up a TCP connection for your request, and that's
where the time savings comes from -- not on the very first request, but on
every request after that.
Craig McClanahan
___________________________________________________________________________
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