为什么我无法弹出一个另存为对话框
//弹出一个另存为
if(pagefile.equals("exporterXLS")){
response.setHeader("Content-Disposition", "attachment;fileName="+“d:/”);
response.addHeader( "Content-Disposition" , "attachment;fileName="+fileReport);
//String ps="T_filename ";
//String str= "http://127.0.0.1:8080/abc/ "+ps;
//response.setHeader( "Content-Type ", "application/file ");
//response.addHeader( "Content-Disposition ", "filename=str ");
}
这上面的在<%%>号里都没起作用,
不管是我分开用还是怎么用,