String path=ServletActionContext.getRequest().getRealPath("/file"); 
System.out.println("路径是:"+path);
book = Workbook.createWorkbook(new File(path+"/sendStatus.xls"));
 
posted on 2016-06-07 09:40  看一场塞北的雪  阅读(252)  评论(0编辑  收藏  举报