String srcUrl = "http://www.naver.com";
java.net.URL url = new java.net.URL(srcUrl);
InputStreamReader reader = new InputStreamReader(url.openStream(), "utf-8");
char[] buffer = new char[4096];
int len = 0;
while((len = reader.read(buffer)) != -1)
{
out.println(buffer);
}
reader.close();
웹페이지 요청
|
2011.04.12 16:15:34
|
2011.04.12 16:15:34
|
366
|
Aiden
Total of Attached file
0.00 Bytes of 0 files
2016.11.30
2016.07.20
2012.09.11
2012.08.15
2011.05.26
2011.04.12
2011.04.11
2011.03.09
2011.03.08
2009.11.11