锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品亚洲欧美一级在线,欧美久久综合,七七婷婷婷婷精品国产http://www.aygfsteel.com/grantbb/category/5754.html鏈熷緟浜ゆ祦zh-cnWed, 18 Apr 2007 08:51:09 GMTWed, 18 Apr 2007 08:51:09 GMT60瀹氬埗doclipsehttp://www.aygfsteel.com/grantbb/articles/111621.html鎴戜笉鏄紶鍢庯紞灝忓叺鎴戜笉鏄紶鍢庯紞灝忓叺Wed, 18 Apr 2007 06:17:00 GMThttp://www.aygfsteel.com/grantbb/articles/111621.htmlhttp://www.aygfsteel.com/grantbb/comments/111621.htmlhttp://www.aygfsteel.com/grantbb/articles/111621.html#Feedback0http://www.aygfsteel.com/grantbb/comments/commentRss/111621.htmlhttp://www.aygfsteel.com/grantbb/services/trackbacks/111621.html鐢變簬doclipse鐨勬彁紺哄啑浣欎竴浜涳紝鎵浠ワ紝鍙嚜宸卞畾鍒舵彁紺轟俊鎭備笉闇淇敼婧愮爜錛屽嵆鍙畬鎴愩?/p>

1. 瑙e帇com.beust.doclipse.jar銆?/p>

2. 鎵懼埌/file/鐩綍涓嬶紝鎯寵淇敼鐨剎ml鏂囦歡錛屽鏋滄槸struts錛屽嵆涓簊truts.xml銆?/p>

3. 濡傛灉xml涓己欏癸紝鍔犱笂鍗沖彲錛屼緥@struts.action-forward涓己灝憆edirect欏癸紝鍙渶娣誨姞<attribute name="redirect"/>銆傚叾涓睘鎬equired鍙互璁懼畾鏄惁涓嶉渶銆?/p>

4. 鐒跺悗鍦ㄧ敤jar鎵撳寘錛屾浛鎹㈠師鍏堢殑jar錛屽畬鎴愩?/p>

Eclipse涓彉鎹㈡彃浠跺悗錛屼粠2.1鏃跺彂鐜幫紝鍒犻櫎configration/org.eclipse.update鐩綍涓嬬殑platform.xml鏂囦歡錛岀劧鍚庨噸鏂板惎鍔‥clipse錛屾彃浠跺氨浼?xì)钃v浣滅敤浜嗐?/p>

鎴戜笉鏄紶鍢庯紞灝忓叺 2007-04-18 14:17 鍙戣〃璇勮
]]>
HttpURLConnection涓浣曡緗綉緇滆秴鏃?/title><link>http://www.aygfsteel.com/grantbb/articles/69807.html</link><dc:creator>鎴戜笉鏄紶鍢庯紞灝忓叺</dc:creator><author>鎴戜笉鏄紶鍢庯紞灝忓叺</author><pubDate>Fri, 15 Sep 2006 01:56:00 GMT</pubDate><guid>http://www.aygfsteel.com/grantbb/articles/69807.html</guid><wfw:comment>http://www.aygfsteel.com/grantbb/comments/69807.html</wfw:comment><comments>http://www.aygfsteel.com/grantbb/articles/69807.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/grantbb/comments/commentRss/69807.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/grantbb/services/trackbacks/69807.html</trackback:ping><description><![CDATA[聽Java涓彲浠ヤ嬌鐢℉ttpURLConnection鏉ヨ姹俉EB璧勬簮銆?br />HttpURLConnection瀵硅薄涓嶈兘鐩存帴鏋勯狅紝闇瑕侀氳繃URL.openConnection()鏉ヨ幏寰桯ttpURLConnection瀵硅薄錛岀ず渚嬩唬鐮佸涓嬶細(xì)<br />String szUrl = "http://www.yesky.com/";<br />URL url = new URL(szUrl);<br />HttpURLConnection urlCon = (HttpURLConnection)url.openConnection(); <p></p><p style="LINE-HEIGHT: 150%">HttpURLConnection鏄熀浜嶩TTP鍗忚鐨勶紝鍏跺簳灞傞氳繃socket閫氫俊瀹炵幇銆傚鏋滀笉璁劇疆瓚呮椂錛坱imeout錛夛紝鍦ㄧ綉緇滃紓甯哥殑鎯呭喌涓嬶紝鍙兘浼?xì)瀵艰嚧绋嬪簭鍍垫鑰屼笉緇х畫寰涓嬫墽琛屻傚彲浠ラ氳繃浠ヤ笅涓や釜璇彞鏉ヨ緗浉搴旂殑瓚呮椂錛?br />System.setProperty("sun.net.client.defaultConnectTimeout", 瓚呮椂姣鏁板瓧絎︿覆);<br />System.setProperty("sun.net.client.defaultReadTimeout", 瓚呮椂姣鏁板瓧絎︿覆);<br /></p><p style="LINE-HEIGHT: 150%">鍏朵腑錛?sun.net.client.defaultConnectTimeout錛氳繛鎺ヤ富鏈虹殑瓚呮椂鏃墮棿錛堝崟浣嶏細(xì)姣錛?br />sun.net.client.defaultReadTimeout錛氫粠涓繪満璇誨彇鏁版嵁鐨勮秴鏃舵椂闂達(dá)紙鍗曚綅錛氭縐掞級 </p><p style="LINE-HEIGHT: 150%">渚嬪錛?br />System.setProperty("sun.net.client.defaultConnectTimeout", "30000");<br />System.setProperty("sun.net.client.defaultReadTimeout", "30000"); </p><p style="LINE-HEIGHT: 150%">JDK 1.5浠ュ墠鐨勭増鏈紝鍙兘閫氳繃璁劇疆榪欎袱涓郴緇熷睘鎬ф潵鎺у埗緗戠粶瓚呮椂銆傚湪1.5涓紝榪樺彲浠ヤ嬌鐢℉ttpURLConnection鐨勭埗綾籙RLConnection鐨勪互涓嬩袱涓柟娉曪細(xì)<br />setConnectTimeout錛氳緗繛鎺ヤ富鏈鴻秴鏃訛紙鍗曚綅錛氭縐掞級<br />setReadTimeout錛氳緗粠涓繪満璇誨彇鏁版嵁瓚呮椂錛堝崟浣嶏細(xì)姣錛?</p><p style="LINE-HEIGHT: 150%">渚嬪錛?br />HttpURLConnection urlCon = (HttpURLConnection)url.openConnection();<br />urlCon.setConnectTimeout(30000);<br />urlCon.setReadTimeout(30000); </p><p style="LINE-HEIGHT: 150%">闇瑕佹敞鎰忕殑鏄紝絎旇呭湪JDK1.4.2鐜涓嬶紝鍙戠幇鍦ㄨ緗簡 defaultReadTimeout鐨勬儏鍐典笅錛屽鏋滃彂鐢熺綉緇滆秴鏃訛紝HttpURLConnection浼?xì)鑷姩閲嶆柊鎻愪氦涓嬈¤姹傦紝鍑虹幇涓嬈¤姹傝皟鐢紝璇鋒眰鏈嶅姟鍣ㄤ袱嬈$殑闂錛圱rouble錛夈傛垜璁や負(fù)榪欐槸JDK1.4.2鐨勪竴涓猙ug銆傚湪JDK1.5.0涓紝姝ら棶棰樺凡寰楀埌瑙e喅錛屼笉瀛樺湪鑷姩閲嶅彂鐜拌薄銆?/p><img src ="http://www.aygfsteel.com/grantbb/aggbug/69807.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/grantbb/" target="_blank">鎴戜笉鏄紶鍢庯紞灝忓叺</a> 2006-09-15 09:56 <a href="http://www.aygfsteel.com/grantbb/articles/69807.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">玉溪市</a>| <a href="http://" target="_blank">慈溪市</a>| <a href="http://" target="_blank">阿尔山市</a>| <a href="http://" target="_blank">班玛县</a>| <a href="http://" target="_blank">佛坪县</a>| <a href="http://" target="_blank">花莲县</a>| <a href="http://" target="_blank">商水县</a>| <a href="http://" target="_blank">凤凰县</a>| <a href="http://" target="_blank">白城市</a>| <a href="http://" target="_blank">华池县</a>| <a href="http://" target="_blank">柳州市</a>| <a href="http://" target="_blank">巴林左旗</a>| <a href="http://" target="_blank">兴文县</a>| <a href="http://" target="_blank">宁波市</a>| <a href="http://" target="_blank">益阳市</a>| <a href="http://" target="_blank">芷江</a>| <a href="http://" target="_blank">长丰县</a>| <a href="http://" target="_blank">陇南市</a>| <a href="http://" target="_blank">锦州市</a>| <a href="http://" target="_blank">阳西县</a>| <a href="http://" target="_blank">黄龙县</a>| <a href="http://" target="_blank">克山县</a>| <a href="http://" target="_blank">鄱阳县</a>| <a href="http://" target="_blank">隆昌县</a>| <a href="http://" target="_blank">曲水县</a>| <a href="http://" target="_blank">巴彦淖尔市</a>| <a href="http://" target="_blank">新竹市</a>| <a href="http://" target="_blank">高青县</a>| <a href="http://" target="_blank">吴江市</a>| <a href="http://" target="_blank">汉川市</a>| <a href="http://" target="_blank">诸城市</a>| <a href="http://" target="_blank">永修县</a>| <a href="http://" target="_blank">永仁县</a>| <a href="http://" target="_blank">尼玛县</a>| <a href="http://" target="_blank">日照市</a>| <a href="http://" target="_blank">阳信县</a>| <a href="http://" target="_blank">北京市</a>| <a href="http://" target="_blank">东乡族自治县</a>| <a href="http://" target="_blank">瑞丽市</a>| <a href="http://" target="_blank">常山县</a>| <a href="http://" target="_blank">汉沽区</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>