Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to uplaod excel data into mysql data base in struts..?

 
Sudarshan Reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Any one tell how to export data from excel to mysql using struts...?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34396
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sudarshan,
Struts has nothing to do with it. Your question is really how to do this in Java. How to get the data out of Excel depends on the format. Is it CSV, .xls, .xlsx?
 
Sudarshan Reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the data in xls format...
that contains database rows order ..i need to upload that data into the mysql table in java
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Apache POI HSSF or Andy Khan JExcelAPI. Information, guides and examples are available at their websites.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic