摘要: response.setContentType("application/vnd.ms-excel"); //设置格式,导出文件名 // 生成导出的文件名 String filename = "sample_"; SimpleDateFormat dateFormate = new SimpleDateFormat("yyMMdd_HHmmss"); Calendar now = Calendar.getInstance(); String nowStr = dateFormate.format(now.getTime()); res 阅读全文
posted @ 2013-03-05 10:41 dengying 阅读(642) 评论(0) 推荐(0) 编辑