Hi all,
I am working jasper reports,i have got partial result for the code below.
jasperReport = JasperCompileManager.compileReport(
"c:\\Jreport.jrxml");
jasperPrint = JasperFillManager.fillReport(
jasperReport, new HashMap(), new JREmptyDataSource());
JasperExportManager.exportReportToPdfFile(jasperPr int, "sample.pdf");
// JasperViewer.viewReport(jasperPrint);
My Doubts are
* Where should i locate the jrxml file in a web application???
*I am getting
"java.lang.NoClassDefFoundError: com/lowagie/text/pdf/FontMapper" for
JasperExportManager.exportReportToPdfFile(jasperPr int, "sample.pdf");
But i can able to generate html,xml and view report successfuly.
Kindly let me know what should i add further to my code???
regards,
sundar.