JSP/Servlets: How do I Upload a zip file, unzip it and extract the CSV file...

Posted by topdog 608 days ago Questions| file csv jsp All

Hi all,

Wondering how can I do the following in JSP/Servlets:

  1. Upload a zip file (containing multiple CSV files)

  2. Unzip the file to obtian the CSV files

  3. Read the CSV files and pump the records into a mySQL database

Note: mySQL table is set up and ready for CSV files inputs.

Thanks in advance.

Originally asked by: Roy on Stack Overflow

Discuss Bury


Who Voted for this Question