摘要: 发送请求String post_url = "http://10.1.3.121:9002/Mbomc/servlet/ControlSer;URL url = null;HttpURLConnection connection = null;OutputStreamWriter outWriter = null;url = new URL(post_url);connection = (HttpURLConnection) url.openConnection();connection.setDoInput(true);// 必须设置成TRUEconnection.setDoOut 阅读全文
posted @ 2012-08-30 16:41 draem0507 阅读(1544) 评论(0) 推荐(0) 编辑
View Code