I'm looking for information on how to write a java program that uses a http url connection object to request data from a servlet... however, I don't want to construct a new tcp/ip connection every time I create a request.

Krzysztof Raciniewski

You can set the "http.keepAlive" propety t o true. You can do it running java -Dhttp.keepAlive=true or from code System.getProperties ().put ("http.keepAlive", "true");.