
excel
麻辣小布叮
这个作者很懒,什么都没留下…
展开
-
解决getOutputStream() has already been called for this response
java.lang.IllegalStateException: getOutputStream() has already been called for this response //strut2 导出excel //解决问题的代码 HSSFWorkbook workbook=productEcel(list,partTimer); response.reset();原创 2017-03-27 11:35:22 · 22325 阅读 · 3 评论 -
使用 POI导出到Excel
private String productEcel(List list) throws Exception { // 创建工作表和标题 HSSFWorkbook workbook = null; try { workbook = new HSSFWorkbook(); } catch (Exception e) { e.printStackTrac原创 2017-03-27 11:10:36 · 275 阅读 · 0 评论