wood burning stoves 2.0
The moose likes Servlets and the fly likes friends can any one tell me what is mean by Persistant Http connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "friends can any one tell me what is mean by Persistant Http connection" Watch "friends can any one tell me what is mean by Persistant Http connection" New topic
Author

friends can any one tell me what is mean by Persistant Http connection

ganesh pol
Ranch Hand

Joined: Apr 29, 2005
Posts: 151
friends
can any one tell me what is mean by Persistant Http connection
is it Statefull or Stateless?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

HTTP is a stateless protocol but to make the grabbing of lots of small images in a webpage more efficient, the server may keep the connection alive for a small (sub second) amount of time. The browsers and servers discuss this process via the 'Connection' and 'Keep-Alive' headers.

Example:
Request:

Response:


As an app developer, this is not something you need to concern yourself with. Just think of HTTP as a stateless protocol.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: friends can any one tell me what is mean by Persistant Http connection
 
jQuery in Action, 3rd edition