February 5th, 2013, 10:03 AM
Originally Posted by alphak01
I need a sample servlet to upload an Excel file and insert to the database, I found some on the web that no longer worked correctly.
And what have you tried? I've used Apache POI
to parse and generate Excel files and it has worked well. Once you have the data parsed out it would be a simple insert into the database.
This isn't a trivial bit of code - asking for a sample without having done more than a web search is not likely to get you any help.
Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.