• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

No values in JasperViewer

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am new to jasper reports. I wanted view a jasper report in html. I used jasperreports 1.3.

Here are the codes:

JRResultSetDataSource jrRS = new JRResultSetDataSource( rs );

JasperReport jasperReport = (JasperReport) JRLoader.loadObject(file);

System.out.println("Successfully created jasper report");

//JasperPrint jasperprint = storeReportService.getJasperPrint(jasperReport,null,jrRS);

JasperPrint jasperprint = JasperFillManager.fillReport(jasperReport,parameters, jrRS);
System.out.println("print");

long start = System.currentTimeMillis();


JasperViewer.viewReport(jasperprint,true);




My problem is that I cannot see the field values eventough the field names are displayed.


I have no idea why there are no values. Please help me in this.
 
I love a good mentalist. And so does this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic