Struts Generates an Excel file in real time

xiaoxiao2021-03-06  73

The project I did was originally to generate an Excel file on the server, and then downloaded with jspsmartupload, but because the Excel file downloaded with JSPSMARTupload is damaged due to the problem of encoding, and the pressure is too much, so it is changed to action Generate an Excel file, then download, convenient. Due to the reason, the Excel file is generated in real time. For JXL usage, you can refer to JXL-related articles. If you have any questions, you can contact me. MSN: WHW_DREAM (AT) Hotmail.com The code is as follows: Test.jsp

<% @ Taglib Uri = "/ Web-INF / STRUTS-HTML.TLD" prefix = "html"%> Download