httpclient在运行中有时会报
----------------------------------------
2007-6-26 23:05:12 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
信息: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
2007-6-26 23:05:12 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
信息: Retrying request
-----------------------------------------------
的错误,请问如何解决哦
----------------------------------------
2007-6-26 23:05:12 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
信息: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
2007-6-26 23:05:12 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
信息: Retrying request
-----------------------------------------------
的错误,请问如何解决哦
解决方案 »
- Error: cannot find symbol symbol: constructor Main(int,int)
- 自己在java编译完成后,在执行的时候命令行下报错
- System.arraycopy的要怎么实现啊?
- 求助啊,我第一次发帖 大家帮忙
- 关于DatagramSocket接收UDP数据时的效率问题
- 求助:各位前辈,高手们,怎样将JAVA工程生成一个可执行文件(.exe)呢?
- java初学者问题!请过来人多多指点!
- 十万火急!高分求助一java界面问题
- 转换字符的问题,关于startsWith
- 谁能 帮我看看这是什么错误(有关ActionListner的)! 多谢!!
- 求助httpclient访问问题 高手进
- 可否提供一个最常用函数和类库的名称列表,谢谢
GetMethod method=new GetMethod("http://www.google.com");
client.excute...(method);
sysout(method.getResponseBody...);
一般是不会出问题的
如果你不用代理的话,就用HTMLParser