This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Unable to export Jasper Report in html format. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Unable to export Jasper Report in html format." Watch "Unable to export Jasper Report in html format." New topic
Author

Unable to export Jasper Report in html format.

Anshuman Chakraborty
Greenhorn

Joined: Oct 05, 2010
Posts: 20
Hi,

I am using Jasper Report [ver 4.0.2] for the first time and was going through one of the tutorials.

The code goes like this


Well the problem is
1. The exported pdf file is fine and contains all the records from database.
2. html and xls file doesn't contain records but the head and footer is present and the line separating the records are also present.
Basically, formatting is present except for actual database records.

JasperViewer shows all the records.



Library used
* jasperreports-4.0.2.jar
* jasperreports-applet-4.0.2.jar
* jasperreports-fonts-4.0.2.jar
* jasperreports-javaflow-4.0.2.jar
* commons-beanutils-1.8.0.jar
* commons-collections-2.1.1.jar
* commons-digester-1.7.jar
* commons-javaflow-20060411.jar
* commons-logging-1.0.4.jar
* iText-2.1.7.jar
* poi-3.6.jar


Anshuman Chakraborty
Anshuman Chakraborty
Greenhorn

Joined: Oct 05, 2010
Posts: 20
Hi,

Any suggestion.
 
wood burning stoves
 
subject: Unable to export Jasper Report in html format.
 
Similar Threads
PDF with jsf
jasper report- error
Query inside Jasper Reports
jasper
exported Jasper Report has different look than preview in IReport designer