This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes How to uplaod excel data into mysql data base in struts..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to uplaod excel data into mysql data base in struts..?" Watch "How to uplaod excel data into mysql data base in struts..?" New topic
Author

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

Sudarshan Reddy
Greenhorn

Joined: Aug 23, 2007
Posts: 20
Hi

Any one tell how to export data from excel to mysql using struts...?


With Regards<br /> <br />Sudarshan Reddy
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

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?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Sudarshan Reddy
Greenhorn

Joined: Aug 23, 2007
Posts: 20
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

Joined: Oct 08, 2006
Posts: 2458
Use Apache POI HSSF or Andy Khan JExcelAPI. Information, guides and examples are available at their websites.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to uplaod excel data into mysql data base in struts..?
 
jQuery in Action, 3rd edition