解决方案 »

  1.   

    不报错误,和别的浏览器一样 用debug追踪一下 也是该走的都走了  只是在别的浏览器弹出下载框的时候,ie8的窗口一闪而过
      

  2.   

    是不是 ie 的问题。ie8 重新下载测试呢。
      

  3.   

    应该是IE的问题。你选择工具——Internet选项——安全——可信站点——自定义级别——找到“下载”选项——都将“禁用”改为“启用”
      

  4.   

    我自己写的下载插件的代码,IE7-10都测试了,public class LoadFile extends HttpServlet{
     public void doGet(HttpServletRequest request,HttpServletResponse response)
       throws IOException,ServletException{
        OutputStream o=response.getOutputStream();
        byte b[]=new byte[1024];
        //the file to download.
        File fileLoad=new File("D:\\download","MRVInst.exe");
        //the dialogbox of download file.
        response.setHeader("Content-disposition",
          "attachment;filename="+"MRVInst.exe");
        //set the MIME type.
        response.setContentType("application/application/octet-stream bin");
        //get the file length.
        long fileLength=fileLoad.length();
        String length=String.valueOf(fileLength);
        response.setHeader("Content_Length",length);
        //download the file.
        FileInputStream in=new FileInputStream(fileLoad);
        int n=0;
        while((n=in.read(b))!=-1){
         o.write(b,0,n);
        }
     }
     public void doPost(HttpServletRequest request,HttpServletResponse response)
     throws IOException,ServletException{
      doGet(request,response);
     }}
      

  5.   

    不报错误,和别的浏览器一样 用debug追踪一下 也是该走的都走了  只是在别的浏览器弹出下载框的时候,ie8的窗口一闪而过
    java代码没有IE兼容性的问题,你换台电脑下载试试。
      

  6.   

    不报错误,和别的浏览器一样 用debug追踪一下 也是该走的都走了  只是在别的浏览器弹出下载框的时候,ie8的窗口一闪而过
    java代码没有IE兼容性的问题,你换台电脑下载试试。
    换了 还是下载不了 我听别人说 如果是浏览器不兼容一般都是js的问题 是这样吗