- Redirect requested but followRedirects is disabled

解决方案 »

  1.   

    Redirect requested but followRedirects is disabled
    连句代码都没有?
      

  2.   

    HttpMethod method = new GetMethod(affixurl);//附件url
                status = client.executeMethod(method); 
    InputStream in = method.getResponseBodyAsStream();//用Httpclient方式获取到附件io
                byte[] testBytes = new byte[in.available()];
                while (in.read(testBytes) != -1) {
                    filesize += testBytes.length;
                    testBytes = new byte[in.available()];
                }
                in.close();
    运行到while的时候就报这个错误了,请各位大侠帮忙
      

  3.   

    http://hejianghua16.blog.163.com/blog/static/31071553200782532452375/你看看这篇帖子,有处理跳转的。你在文章中搜“自动转向”