response.setHeader("Content-disposition","attachment;filename="+System.currentTimeMillis()+".xls") ;
response.setContentType("application/xls") ;
导出Excel时候迅雷下载不了,改成下面的形式就OK了
response.setHeader("Content-Disposition","attachment;filename="+System.currentTimeMillis()+".xls") ;
response.setContentType("application/xls") ;
不要在犯这样的错误!!!!