简体   繁体   English

在Java Web应用程序中以excel格式导出表格数据的正确方法是什么?

[英]What is the proper way to export tabular data in excel format in java web applications?

Display tag has the feature to export tyable data in excel or pdf. 显示代码具有以excel或pdf格式导出大数据的功能。 JQgrid is also used for listing purposes. JQgrid也用于上市目的。 But I am not sure if it supports exporting. 但是我不确定它是否支持导出。

So, what is the most feasable way to export large data in excel or pdf in java based web applications? 那么,在基于Java的Web应用程序中以excel或pdf格式导出大数据的最可行方法是什么?

Are there any other tools available? 还有其他可用的工具吗?

For Excel you can just export a CSV file - but there's also Apache POI which you could use. 对于Excel,您可以仅导出CSV文件-但也可以使用Apache POI For PDF there's iText but be aware that the (free) licence for iText is very restrictive. 对于PDF,有iText,但请注意, iText的(免费) 许可证有严格的限制。

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

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