/ Published in: Java
Java Read Site Source code Line by Line :D
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import java.net.*; import java.io.*; class ... try { urlc = url.openConnection(); while((line = br.readLine()) != null) { } }