URLConnection how to find the Http Code
posted 8 years ago
Hi, I am using following code sample given in the url http://www.iam.ubc.ca/guides/javatut/networking/urls/readingWriting.html, to read a web page. The server redirects my client. How do I find the HTTP Response code returned by the server?