<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html lang="en"><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> &…
导出excel用ajax不行,提交form表单可以. 一直用ajax找原因,网页不出现下载提示框 写了 response.setContentType("application/binary;charset=ISO8859_1");Date now = new Date();SimpleDateFormat toDoFormat = new SimpleDateFormat("yyyyMMddhhmmssSSS");String nowTime = toDoForm…