Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using JSP to upload a CSV to update database

843836Jul 27 2004 — edited Nov 23 2008
Hey ppl, need your advise here.

Is it possible and what method would you use to...

1) Upload a CSV file thru a JSP page then...
2) Use the data in the CSV file to update the database?

EXAMPLE
A database with a table1 that contain a list of barcode and its description

TABLE 1
------------
Barcode1 Towel
Barcode2 Soap

I want to upload a csv file thru a JSP where it will read it data, match the barcode in table1 and update its description.

CSV
-------
Barcode1 Towel (Red)
Barcode2 Soap and Toothpaste

What is the advisable way to do it? Thanks in advance...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2008
Added on Jul 27 2004
17 comments
5,091 views