/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
try{ target_url.openStream())); String inputLine; while ((inputLine = in.readLine()) != null){ sb.append(inputLine); sb.append(" "); } return sb.toString(); // TODO: handle exception e.printStackTrace(); } return null; }