wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes No values in JasperViewer 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 » Products » Other Java Products and Servers
Bookmark "No values in JasperViewer" Watch "No values in JasperViewer" New topic
Author

No values in JasperViewer

Mira Suting
Greenhorn

Joined: Aug 13, 2009
Posts: 2
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: No values in JasperViewer
 
Similar Threads
Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
Unable to print the report using Jasper
Error loading object from file in JasperReport Can any one Help...
JasperReport problem