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 example, it's not as simple as splitting on commas. There are rules about quoted values and the case of empty columns which make reading in CSV hard enough that there's no reason to reinvent the wheel when Mr. Ostermiller has gone to so much trouble.

The only issue would be if you can't deal with the GPL license. As long as you're not planning on redistributing your app, that's unlikely to be an issue.

Joe



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 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... Well, more
 or less ;-)

 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction"  -The Ex

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to