A scheme for exporting large amounts of data to Excel in java

1. First create an excel file. Fill in the required header and two records. Then save as web page test.html.
2. Open the web page test.html with Notepad and see the source code. Divide the source code into three parts: head + record line + tail.
3. Loop traversal, write the file with io stream, the format is "xxx.xls".
The head code of test.html + record line code (already replaced) + tail code.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326563258&siteId=291194637