我用getMethod.setPath("http://www.baidu.com")可以得到正常的页面信息但是用搜索加上参数的话
getMethod.setPath("http://www.baidu.com/s?wd=java")
就出错了,提示Invalid redirect location: http://www.baidu.com/search/error.html
getMethod.setPath("http://www.baidu.com/s?wd=java")
就出错了,提示Invalid redirect location: http://www.baidu.com/search/error.html
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货