java 发送http请求
摘要:
在这里介绍一个关于发送和接受http的示例,关于URL和HttpURLConnection类请参考jdk.Stringmethod="POST";Stringcontent="<name>dd</name>";URLurl=newURL(http://192.168.100.77/test.jsp);HttpURLConnectionurlConnection=(HttpURLConnection)url.openConnection();urlConnection.setRequestMethod(method);urlConn 阅读全文
posted @ 2013-03-09 09:52 5彩石头 阅读(294) 评论(0) 推荐(0)
浙公网安备 33010602011771号