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

How to import CSV file into Mysql using jsp

 
Suganya Rajarethinam
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64985
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you really not indent your code?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic