aspose file tools
The moose likes JSP and the fly likes importing data from excel to Mysql database using jsp code Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "importing data from excel to Mysql database using jsp code" Watch "importing data from excel to Mysql database using jsp code" New topic
Author

importing data from excel to Mysql database using jsp code

shyamkumar bopannachengalaiah
Ranch Hand

Joined: Dec 30, 2008
Posts: 100
i need to import data from excel to mysql database using jsp. How can i achieve this? Kindly help me.if there is any sample code kindly give me.
Brijesh Sah
Greenhorn

Joined: Jan 22, 2009
Posts: 9
You can use java's poi jar functionality. It will work for you i guess.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
To be more precise: Apache POI HSSF/XSSF. It isn't part of Sun Java or so as you seem to think.

You can use Apache POI to read Excel files and convert them to useable Java objects.

That said, you shouldn't be doing this in a JSP. Writing raw Java code in a JSP file instead of Java classes is receipt for trouble. JSP is a presentation technology, use it where it is for. Use taglibs and EL only, no scriptlets.

This message was edited 1 time. Last update was at by Bauke Scholtz



Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
 
subject: importing data from excel to Mysql database using jsp code
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture