jQuery('<form action="/server/export" method="post">' + // action请求路径及推送方法
'<input type="text" name="filename" value="myfile"/>' + // 文件名称
'</form>')
.appendTo('body').submit().remove();
File file = new File(tmpFile + File.separator + saveFileName+".xls");
response.setHeader("content-disposition", "attachment;filename=" + URLEncoder.encode(fileName+".xls", "UTF-8"));
OutputStream out = response.getOutputStream();
FileUtils.copyFile(file, out);
FileUtils.deleteQuietly(new File(tmpFile + File.separator + saveFileName+".xls"));