如題 我通過以下方式,打開了一個HTTP的鏈接 String surl = "http://news.qq.com"; URL url = new URL(surl); URLConnection connection = url.openConnection(); SaveResponseToFile.process(connection.getInputStream(), "c:/test.html"); 能夠正常的保存返回的數(shù)據(jù) 謝謝了
添加回答
舉報
0/150
提交
取消