File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How to import CSV file into Mysql using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to import CSV file into Mysql using jsp" Watch "How to import CSV file into Mysql using jsp" New topic
Author

How to import CSV file into Mysql using jsp

Suganya Rajarethinam
Greenhorn

Joined: Sep 10, 2008
Posts: 11
Hi All,
I have tried to import CSV file into Mysql databse using jsp.Then i can able store the csv values into Mysql database and i getting error.
I have two fields in my database.There are file_id,file_data .The all CSV values inserted into file_data column only.

This is my output of database

file_id file_data
"4";"9994964548";"0"




Please assist me to solve this problem.


Regards,
Suganya.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Do you really not indent your code?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to import CSV file into Mysql using jsp