前人写了一个servlet,需要我修改。在service function中有下面的代码:path = SpecialCharHandler.httpDecode(path);
File f= null;
if(path!=null){
path = path.trim();
}f = new File(SysProperties.docRoot + path);
os = res.getOutputStream();res.setHeader("Content-disposition","attachment; filename=" + f.getName());
byte[] byteContents = new byte[(int)f.length()]; 
fis = new FileInputStream(f); 
int retcd = fis.read(byteContents); 
fis.close(); res.setContentLength((int)f.length());
setResponseHeader(res, path);os = res.getOutputStream(); 
os.write(byteContents);
os.flush();用户如果在网页上面按那条下载的link的时候,它会弹出一个下载对话框问保存,打开或者取消,这个没有问题。但是如果把那条link放到email里面发到别人的邮箱,别人在outlook直接按那条link时,“保存,打开和取消”那个文件没有问题,但是它会多弹出一个IE,上面写着“Action Canceled”“Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.”请问怎么才能不弹出那个没用的窗口呢?