2013年7月19日

Struts2 POI 导入导出Excel数据

摘要: 页面端: 导入数据 导入excel数据 导入Excel文件: 配置struts.xml application/vnd.ms-excel attachment;filename=${fileName} excelStream 1024 ExcelAction类:extends ActionSupportInputStream excelStream;String fileName;操作poiprivate void exportExcel(OutputStream os) { Workbook workb... 阅读全文

posted @ 2013-07-19 12:30 鱼东鱼 阅读(3196) 评论(0) 推荐(0) 编辑

导航