﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-渔人码头-最新评论</title><link>http://www.blogjava.net/fisher/CommentsRSS.aspx</link><description>天行健，君子以自强不息。地势坤，君子以厚德载物。</description><language>zh-cn</language><pubDate>Tue, 20 May 2008 14:57:56 GMT</pubDate><lastBuildDate>Tue, 20 May 2008 14:57:56 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 关于java模拟ie 访问web网站的解决方法</title><link>http://www.blogjava.net/fisher/archive/2008/05/08/86926.html#199140</link><dc:creator>abyer</dc:creator><author>abyer</author><pubDate>Thu, 08 May 2008 01:43:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2008/05/08/86926.html#199140</guid><description><![CDATA[你这个如何验证用户名和密码啊<img src ="http://www.blogjava.net/fisher/aggbug/199140.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">abyer</a> 2008-05-08 09:43 <a href="http://www.blogjava.net/fisher/archive/2008/05/08/86926.html#199140#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于java模拟ie 访问web网站的解决方法</title><link>http://www.blogjava.net/fisher/archive/2008/02/26/86926.html#182330</link><dc:creator>qyxxpd.com</dc:creator><author>qyxxpd.com</author><pubDate>Tue, 26 Feb 2008 14:51:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2008/02/26/86926.html#182330</guid><description><![CDATA[@Rachel<br>我写了段提取网页内容的程序，批量访问此网站下的明细网页内容并抓取（<a href="http://cn.made-in-china.com" target="_new" rel="nofollow">http://cn.made-in-china.com</a>）<br><br>其实你用.MainWebFetcher.DownLoadPages(&quot;<a href="http://cn.made-in-china.com" target="_new" rel="nofollow">http://cn.made-in-china.com</a>/&quot;, &quot;C://tmp//test.txt&quot;);<br><br><a href="http://cn.made-in-china.com" target="_new" rel="nofollow">http://cn.made-in-china.com</a>后加/就行了.<img src ="http://www.blogjava.net/fisher/aggbug/182330.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">qyxxpd.com</a> 2008-02-26 22:51 <a href="http://www.blogjava.net/fisher/archive/2008/02/26/86926.html#182330#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于java模拟ie 访问web网站的解决方法</title><link>http://www.blogjava.net/fisher/archive/2008/02/25/86926.html#181896</link><dc:creator>Fisher</dc:creator><author>Fisher</author><pubDate>Mon, 25 Feb 2008 02:00:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2008/02/25/86926.html#181896</guid><description><![CDATA[好久没有搞Java了，想不到这么多朋友看了我的帖子，呵呵<br>很高兴能帮到楼上的那个朋友。<br><br>最近我发现有个叫网络爬虫的开源组建那些，应该会比我这个办法好<img src ="http://www.blogjava.net/fisher/aggbug/181896.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">Fisher</a> 2008-02-25 10:00 <a href="http://www.blogjava.net/fisher/archive/2008/02/25/86926.html#181896#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于java模拟ie 访问web网站的解决方法</title><link>http://www.blogjava.net/fisher/archive/2007/07/04/86926.html#128144</link><dc:creator>smalltiger</dc:creator><author>smalltiger</author><pubDate>Wed, 04 Jul 2007 08:51:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2007/07/04/86926.html#128144</guid><description><![CDATA[非常感谢你的这篇目文章！帮了我的大忙了，想和你交个朋友，可以的话请加我的Q：109030035或者MSN：109030035@qq.com<img src ="http://www.blogjava.net/fisher/aggbug/128144.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">smalltiger</a> 2007-07-04 16:51 <a href="http://www.blogjava.net/fisher/archive/2007/07/04/86926.html#128144#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于java模拟ie 访问web网站的解决方法</title><link>http://www.blogjava.net/fisher/archive/2007/05/31/86926.html#121258</link><dc:creator>Rachel</dc:creator><author>Rachel</author><pubDate>Thu, 31 May 2007 14:35:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2007/05/31/86926.html#121258</guid><description><![CDATA[最后<br>拔掉router<br>再插上<br>解析正常 :-)<img src ="http://www.blogjava.net/fisher/aggbug/121258.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">Rachel</a> 2007-05-31 22:35 <a href="http://www.blogjava.net/fisher/archive/2007/05/31/86926.html#121258#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>这样真的能解决问题吗？</title><link>http://www.blogjava.net/fisher/archive/2007/05/31/86926.html#121255</link><dc:creator>Rachel</dc:creator><author>Rachel</author><pubDate>Thu, 31 May 2007 14:12:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2007/05/31/86926.html#121255</guid><description><![CDATA[我写了段提取网页内容的程序，批量访问此网站下的明细网页内容并抓取（<a href="http://cn.made-in-china.com" target="_new" rel="nofollow">http://cn.made-in-china.com</a>）<br><br>测试时执行没问题<br>执行到几十次后，返回都是空<br>再后来一次都不灵了 <br>访问URL的代码跟你写的几乎一样<br>获取的是以下结果<br><br><br> &lt;p&gt;Due to network security, your access to Made-in-China.com<br>                        	has been temporarily denied.&lt;/p&gt;<br>                        &lt;p&gt;In order to provide you with safe and stable web services,<br>                        	we have to prevent abuse of Made-in-China.com by implementing<br>                        	additional security measures. We hope you understand<br>                        	and cooperate with us.&lt;/p&gt;<br><br><img src ="http://www.blogjava.net/fisher/aggbug/121255.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">Rachel</a> 2007-05-31 22:12 <a href="http://www.blogjava.net/fisher/archive/2007/05/31/86926.html#121255#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于java模拟ie 访问web网站的解决方法</title><link>http://www.blogjava.net/fisher/archive/2007/04/09/86926.html#109451</link><dc:creator>dongle</dc:creator><author>dongle</author><pubDate>Mon, 09 Apr 2007 09:03:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2007/04/09/86926.html#109451</guid><description><![CDATA[好文,解决我的大问题了<img src ="http://www.blogjava.net/fisher/aggbug/109451.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">dongle</a> 2007-04-09 17:03 <a href="http://www.blogjava.net/fisher/archive/2007/04/09/86926.html#109451#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Java开源项目相关网址</title><link>http://www.blogjava.net/fisher/archive/2007/02/12/89477.html#99500</link><dc:creator>Fisher</dc:creator><author>Fisher</author><pubDate>Mon, 12 Feb 2007 11:08:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2007/02/12/89477.html#99500</guid><description><![CDATA[<a target="_new" href="http://www.apachefriends.org/zh_cn/xampp-linux.html">http://www.apachefriends.org/zh_cn/xampp-linux.html</a><br><br>整合的apache<img src ="http://www.blogjava.net/fisher/aggbug/99500.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">Fisher</a> 2007-02-12 19:08 <a href="http://www.blogjava.net/fisher/archive/2007/02/12/89477.html#99500#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于java模拟ie 访问web网站的解决方法</title><link>http://www.blogjava.net/fisher/archive/2006/12/11/86926.html#86930</link><dc:creator>Fisher</dc:creator><author>Fisher</author><pubDate>Mon, 11 Dec 2006 08:08:00 GMT</pubDate><guid>http://www.blogjava.net/fisher/archive/2006/12/11/86926.html#86930</guid><description><![CDATA[转载一些代码，使用HttpUrlConnection来模拟ie form登陆web：<br><br><br>关于java模拟ie form登陆web的问题<br><br>HttpURLConnection urlConn=(HttpURLConnection)(new URL(url).openConnection()); <br>urlConn.addRequestProperty(&quot;Cookie&quot;,cookie); <br>urlConn.setRequestMethod(&quot;POST&quot;); <br>urlConn.setRequestProperty(&quot;User-Agent&quot;,&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 2000)&quot;); <br>urlConn.setFollowRedirects(true); <br>urlConn.setDoOutput(true); // 需要向服务器写数据 <br>urlConn.setDoInput(true); // <br>urlConn.setUseCaches(false); // 获得服务器最新的信息 <br>urlConn.setAllowUserInteraction(false); <br>urlConn.setRequestProperty(&quot;Content-Type&quot;,&quot;application/x-www-form-urlencoded&quot;); <br>urlConn.setRequestProperty(&quot;Content-Language&quot;,&quot;en-US&quot; ); <br>urlConn.setRequestProperty(&quot;Content-Length&quot;, &quot;&quot;+data.length()); <br><br>DataOutputStream outStream = new DataOutputStream(urlConn.getOutputStream()); <br>outStream.writeBytes(data); <br>outStream.flush(); <br>outStream.close(); <br><br>cookie=urlConn.getHeaderField(&quot;Set-Cookie&quot;); <br>BufferedReader br=new BufferedReader(new InputStreamReader(urlConn.getInputStream(),&quot;gb2312&quot;)); <br><br><br><img src ="http://www.blogjava.net/fisher/aggbug/86930.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fisher/" target="_blank">Fisher</a> 2006-12-11 16:08 <a href="http://www.blogjava.net/fisher/archive/2006/12/11/86926.html#86930#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>