>>> Luciano da Silva Coelho <[EMAIL PROTECTED]> 25-Nov-99 11:08:18 AM >>> >The keep-alive will leave open the connection between >the WEBServer and the Browser, not with the Browser >and the Servlet. This mechanismis usefull to permit the >browser request more than one resource (first the HTML >page(static or dinamic such as Servlets), and follow images, >sounds, etc) using the same connection with the WEBServer. Yes... but *most* servlet containers also implement keep-alive. So the servlet container can receive several requests from the browser over the same connection. If your server doesn't implement keep-alive you can do it quite easily within a servlet yourself. Though I personally would recommend using a servlet container that supports it. Keep-alive is not the best way to do it though, use HTTP/1.1 persistent connections if possible. These are a bit more complicated (because of the need to use chunked encoding for non-content length set responses) but much better. Nic Ferrier ___________________________________________________________________________ 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
