• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Unable to export Jasper Report in html format.

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Any suggestion.
 
This one time, at bandcamp, I had relations with a tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic