A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
URLConnection how to find the Http Code
Joined: Apr 17, 2006
Oct 13, 2008 12:16:00
Hi, I am using following code sample given in the url
to read a web page. The server redirects my client. How do I find the HTTP Response code returned by the server?
Mani (SCEA 1.4)<br /><a href="http://excusemeworld.com/technical/is-scjp-useful-worth-helps-job/" target="_blank" rel="nofollow"> Is SCJP Useful? Worth? Helps job?</a>
Joined: Oct 29, 2001
Oct 13, 2008 13:11:00
your link doesn't work, but you can get the response code from
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: URLConnection how to find the Http Code
Given a URL, how could I read the html Source code?
This weeks Giveaway
AWT/SWING & Middleware
Problem in Signing the Jar Files
Passing Data Using POST Method without using FORM
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013