Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CSV file parsing

 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using html to upload CSV file throgh HTTP using HTML forms:
<FORM action="Hello" method="POST" name="postform" enctype="multipart/form-data">
<INPUT type="file" name="dddl" value="">
<input type="submit">
</FORM>
Now, through HTTP server, i get whole csv file in message body of HTTP. Now I want to parse the CSV file.
As Microsoft has two version of Outlook Express, both express contains different number of columns. How do I make object which parse the CSV(from any version of outlook) file? What java class I can use?
Thanks,
Angels
 
Mohamed Yousuff
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U can use the Microsoft text Driver to parse the CSV file. See the list of drivers in the ODBC datasources control panel.
Originally posted by Angela D'souza:
Hi,
I am using html to upload CSV file throgh HTTP using HTML forms:
<FORM action="Hello" method="POST" name="postform" enctype="multipart/form-data">
<INPUT type="file" name="dddl" value="">
<input type="submit">
</FORM>
Now, through HTTP server, i get whole csv file in message body of HTTP. Now I want to parse the CSV file.
As Microsoft has two version of Outlook Express, both express contains different number of columns. How do I make object which parse the CSV(from any version of outlook) file? What java class I can use?
Thanks,
Angels
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic