trouble with Java URL.
I manually construct a URL and feed it through a function which I created called 'htmlGet' which simply uses URL an URLConnection to get a website from the internet.
The problem is everything I run it, it returns me emply results. I print out the url and past it on to a browser it works fine. I even hard coded a url into the htmlGet function and that works fine, too.
Anyone got any ideas where did I go wrong?
Thanks
|