锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久亚洲一区,色爱av综合网,男人的天堂在线http://www.aygfsteel.com/fisher/archive/2007/02/12/89477.html#99500FisherFisherMon, 12 Feb 2007 11:08:00 GMThttp://www.aygfsteel.com/fisher/archive/2007/02/12/89477.html#99500http://www.apachefriends.org/zh_cn/xampp-linux.html
鏁村悎鐨刟pache
]]>- re: 鍏充簬java妯℃嫙ie 璁塊棶web緗戠珯鐨勮В鍐蟲柟娉?/title>http://www.aygfsteel.com/fisher/archive/2006/12/11/86926.html#86930FisherFisherMon, 11 Dec 2006 08:08:00 GMThttp://www.aygfsteel.com/fisher/archive/2006/12/11/86926.html#86930
鍏充簬java妯℃嫙ie form鐧婚檰web鐨勯棶棰?
HttpURLConnection urlConn=(HttpURLConnection)(new URL(url).openConnection());
urlConn.addRequestProperty("Cookie",cookie);
urlConn.setRequestMethod("POST");
urlConn.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 6.0; Windows 2000)");
urlConn.setFollowRedirects(true);
urlConn.setDoOutput(true); // 闇瑕佸悜鏈嶅姟鍣ㄥ啓鏁版嵁
urlConn.setDoInput(true); //
urlConn.setUseCaches(false); // 鑾峰緱鏈嶅姟鍣ㄦ渶鏂扮殑淇℃伅
urlConn.setAllowUserInteraction(false);
urlConn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
urlConn.setRequestProperty("Content-Language","en-US" );
urlConn.setRequestProperty("Content-Length", ""+data.length());
DataOutputStream outStream = new DataOutputStream(urlConn.getOutputStream());
outStream.writeBytes(data);
outStream.flush();
outStream.close();
cookie=urlConn.getHeaderField("Set-Cookie");
BufferedReader br=new BufferedReader(new InputStreamReader(urlConn.getInputStream(),"gb2312"));

]]>
主站蜘蛛池模板:
舞钢市|
同心县|
新野县|
白玉县|
枣阳市|
台州市|
萨迦县|
永清县|
十堰市|
南川市|
湖口县|
格尔木市|
普格县|
手游|
翁牛特旗|
文登市|
泸水县|
陇西县|
天津市|
丰顺县|
建德市|
静安区|
兴和县|
深水埗区|
历史|
安康市|
佛坪县|
汝城县|
徐州市|
景东|
华容县|
开化县|
双牌县|
时尚|
嘉祥县|
大关县|
塔城市|
邯郸市|
杭锦旗|
临汾市|
灵寿县|