Re: [OT] How to load a csv file into java

2005-08-19 Thread DGraham
Lesson: I/O: Reading and Writing (but no 'rithmetic) http://java.sun.com/docs/books/tutorial/essential/io/ -Dennis Richard Reyes [EMAIL PROTECTED] 08/19/2005 12:01 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc

Re: [OT] How to load a csv file into java

2005-08-19 Thread Stéphane Zuckerman
Hi Richard, I need to load exported information ( csv file ) into POJOs. How do I do this? Well, just use the html:file/ tag (and don't forget tu use the correct attributes in your html:form/ tag). Then converting your CSV file'll only be a matter of split()ing the resulting data...

Re: [OT] How to load a csv file into java

2005-08-19 Thread Richard Reyes
Hi All, Thanks for the response. I think I can use this... http://ostermiller.org/utils/CSV.html What do guys think? On 8/20/05, Stéphane Zuckerman [EMAIL PROTECTED] wrote: Hi Richard, I need to load exported information ( csv file ) into POJOs. How do I do this? Well, just use

Re: [OT] How to load a csv file into java

2005-08-19 Thread Wendy Smoak
From: Richard Reyes [EMAIL PROTECTED] I need to load exported information ( csv file ) into POJOs. How do I do this? Check the archives of commons-user and commons-dev; there have been recent discussions about a Jakarta Commons CSV component. There were links to several existing

Re: [OT] How to load a csv file into java

2005-08-19 Thread Joe Germuska
At 12:12 AM +0800 8/20/05, Richard Reyes wrote: Hi All, Thanks for the response. I think I can use this... http://ostermiller.org/utils/CSV.html I've had good results with this library. Despite what some posters have indicated, if you're talking about true CSV as exported from Excel, for

Re: [OT] How to load a csv file into java

2005-08-19 Thread Dave Newton
Richard Reyes wrote: Hi All, Thanks for the response. I think I can use this... http://ostermiller.org/utils/CSV.html It mostly works; I vaguely recall having to tweak it a bit, but nothing serious. Dave - To

RE: [OT] How to load a csv file into java

2005-08-19 Thread Paranj, Bala
Parsing CSV files in 5 minutes or less! CsvJdbc - a JDBC driver for CSV files Rocks! I was looking for an utility which can read and parse the CSV files. The open source utility CsvJdbc was perfect for my requirements. It parses the given CSV file with no problem. Just include the csvjdbc.jar