Hi,
The getHeaderField( 0) of class URLConnection in java.net package
returns a String which provides status code. An example of returned
string is : "HTTP/1.0 200 OK". The status code 200 mean success. Does
any body know when this method will return a null value? Since I am
not getting an IOException, I am sure that connection logic is file
and I have a valid connection.
Thanks,
Prabhat
The getHeaderField( 0) of class URLConnection in java.net package
returns a String which provides status code. An example of returned
string is : "HTTP/1.0 200 OK". The status code 200 mean success. Does
any body know when this method will return a null value? Since I am
not getting an IOException, I am sure that connection logic is file
and I have a valid connection.
Thanks,
Prabhat