It's not a secret anymore!*
The moose likes Java in General and the fly likes Problem while creating excel file...... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem while creating excel file......" Watch "Problem while creating excel file......" New topic

Problem while creating excel file......

Nitin Jawarkar
Ranch Hand

Joined: Dec 18, 2004
Posts: 79
hello all,

I have create an Java code which take out data from database and generate an excel file, for this i m importing one package from apache
package org.apache.poi.hssf.usermodel.HSSFWorkbook; i have set all jar files for this but still i m getting an error HSSFWorkbook can not resolve sysmbol, so anybody have idea about this package how to use it foe creating excel file.


Cheers<br />Nitin
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
have you made certain the package is available to the application both at compile time and at runtime?

Nitin Jawarkar
Ranch Hand

Joined: Dec 18, 2004
Posts: 79
hello ,

Yes i have made the package also and include jar file in classpath also now my java module which takes data from database, create excel file of query's output, mail it and take backup also of excel file, all these are working perfectly.

Don't get me started about those stupid light bulbs.
subject: Problem while creating excel file......
Similar Threads
how to set the download mode
embed file into excel sheet
Attach file from JAR
From MS EXCEL to the Database -- is it possible?
How to insert data from file excel into DB?