This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 61456
    
  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