0) { if (request.getHeader("User-Agent").indexOf("MSIE 5.5") > -1) { response.setHeader("Content-Disposition", "filename=" +filename2 + ";"); } else { response.setHeader("Content-Disposition", "attachment; filename=" + filename2 + ";"); } response.setHeader("Content-Length", "" + file.length() ); if (file.isFile()) { BufferedInputStream fin = new BufferedInputStream(new FileInputStream(file)); B..