摘要: public static void main(String[] args) throws ClientProtocolException, IOException { String str = "http://www.baidu.com"; HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(str); try { List<BasicNameValuePair> params = new ArrayList<Bas... 阅读全文
posted @ 2013-04-07 22:10 博宏 阅读(212) 评论(0) 推荐(0)