retrieving 'nulls' from website using Java URL input stream
- by Roio
hi all,
i'm trying to read the text from a website using the Java URL input stream as follows -
URL u = new URL(str);
br3 = new BufferedReader(new InputStreamReader(u.openStream()));
while(true)
System.out.println(br3.readLine());
this seems to work fine for most websites, but for some url shortening services like linkbee, the object draws a blank. e.g. http://linkbee.com/FUAKF, i can view the source code using an explorer, however i repeatedly get nulls when i use the above code.