简体   繁体   English

如何下载大型CSV文件?

[英]How to download large CSV file?

My application requires a reporting facility in excel/csv format. 我的应用程序需要excel / csv格式的报告工具。 In case of large report, the generated CSV is corrupt. 如果报告较大,则生成的CSV已损坏。 Though i am able to e-mail the generated CSV using smtp. 虽然我能够使用smtp通过电子邮件发送生成的CSV。

I tried changing the following with no lead, your help on this is appreciated 我尝试无人更改以下内容,感谢您的帮助

  1. Change the library to POI 将库更改为POI
  2. Changed the library to JXL 将库更改为JXL
  3. Monitored if there is a memory leakage 监视是否存在内存泄漏

This is a web based application and the code is written in JSP. 这是一个基于Web的应用程序,代码是用JSP编写的。

POI is mainly for MS office formats like xls, xlsx, doc. POI主要适用于MS Office格式,例如xls,xlsx,doc。 JXL is also for xls files. JXL也适用于xls文件。 You should use a framework which is for CSV like OpenCSV . 您应该使用适用于CSV的框架,例如OpenCSV

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM