#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    8
    Rep Power
    0

    JSP Upload Excel File and Insert Into Postgres Database


    Hi,
    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.
  2. #2
  3. Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    Superior, CO, USA
    Posts
    2,418
    Rep Power
    1712
    Originally Posted by alphak01
    Hi,
    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.

IMN logo majestic logo threadwatch logo seochat tools logo