URL url = new URL(req.getParameter("url")); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String line; String html = new String(); while((line = reader.readLine()) != null){ html += line + "\n" } reader.close();
0 件のコメント:
コメントを投稿