hi,
I want to know, how to keep the connection alive after sending the first request. i used the following stmt
setRequestProperty("Connection","Keep-Alive"). but still the connection is closed after first request
. Iam using HTTP/1.0.
Can anyone tell me a way to keep connection alive until I specify it to close?
Using URL, we establish connection with a server to particular file. Is there any method in HttpURLConnection or URLConnection where u can specify the file to access rather than specifying the file name at the time of connection.So that I can make multiple request to access different file each time.
I need it urgently
.
Thanks in advance,
Deepa Raghuraman