var startTime ="20170501"var endTime = "20170430"var pattern = /(\d{4})(\d{2})(\d{2})/;var startTime_f = startTime.replace(pattern, '$1-$2-$3')var endTime_f = endTime.replace(pattern, '$1-$2-$3')//转化后
response.setHeader("Content-disposition", "p_w_upload;filename="+new String("中文".getBytes("UTF-8"), "ISO-8859-1")); response.setContentType("application/vnd.ms-excel");filename中文不返回&nbs
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号