java excel upload data to the background, thinking insert database records

1. Using the technique: poi + excel2003 + java + database (mysql / oracle / sqlserver)

2. The realization of ideas, build tables, and save tablename field, is the show and attribute names. And submit the document foreground to the background, the background data is obtained (can be encapsulated) with poi treated, then according to the table and field inside tablename match, then the configuration related data is needed, or for other operations and then insert

3. A little more advanced application is to use the progress bar, every 1/2 second, asynchronous data request to look at the background, the background to develop upload progress variable, real-time changes (calculation may, subject to the actual situation according to the number given), then is displayed on the line according to the schedule, the progress bar plug-in a lot of easyUI layui, bootstrap ... are possible

Published 17 original articles · won praise 0 · Views 218

Guess you like

Origin blog.csdn.net/lihailin8/article/details/104251919