我用poi生成导出excel 在服务器端保存。
在自己XP系统里正常,
在测试的2003server服务器,
在运行服务器不能生成excel 文件。想了半天,代码都是一样的,
分不多了,大家帮忙找找原因吧!
在自己XP系统里正常,
在测试的2003server服务器,
在运行服务器不能生成excel 文件。想了半天,代码都是一样的,
分不多了,大家帮忙找找原因吧!
解决方案 »
- 无法从表单中把值传给servlet
- 有没有类似Ajaxify的插件?介绍下,谢谢!
- 动态调用方法
- 急切!! 求hibernate的两个jar包
- javascript 中调用 jsp代码
- [救命!!]启动tomcat时候,Myeclipse控制台上显示 信息: XML validation disabled
- 如何提取form中的int类型数据?
- 什么时候需要用到例如ireport、jasperreport等软件设计报表
- android的服务器端对session的过期时间设置为多少才合适?
- 在一个form中怎么用onclick执行另一个action
- 数据库连接出错
- 在JSP中使用JavaBean 如何配置,在MyEclipse这种IDE之下
book = new HSSFWorkbook(in);
}
catch(OutOfMemoryError e) {
throw new Exception(e.getMessage);
}
FileOutputStream fileOut = new FileOutputStream(fileName);
wb.write(fileOut);
fileOut.close();
现在是
FileOutputStream fileOut = new FileOutputStream(fileName);
try {wb.write(fileOut);}
catch(Exception e)
{
System.out.println("exception");
throw e;
}
finally
{
System.out.println("finally");
}
fileOut.close();直接输出"finally" 但是能生成文件 能打印了
给小弟解释解释吧