• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to read csv file in jsp

 
devendra madke
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
i want to read csv file and put the separated data into database.
can any one help me how should i proceed. i m new in jsp

devendra
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For separating the parts of a CSV file you can use a java.util.StringTokenizer - see the JavaDocs.
I suggest you write and test your parsing code outside the JSP environment first before trying to integrate it into your web application.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!