File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes CSV file parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "CSV file parsing" Watch "CSV file parsing" New topic
Author

CSV file parsing

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
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

Joined: Jun 23, 2001
Posts: 73
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CSV file parsing
 
Similar Threads
Problem with File Upload
Fileupload using Servlet
How to get Form Name using TexyBox name
form data
Parsing html in Ajax