远程访问
时间:2014-06-06 11:45:51
收藏:0
阅读:186
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new
HttpGet(baseUrl + action);
HttpResponse response =
httpclient.execute(httpget);
retStr =
EntityUtils.toString(response.getEntity());
所用到的jar 包:httpcore httpclient
http://www.cnblogs.com/Wen-yu-jing/p/3552154.html
评论(0)