A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a license for
this week in the
JasperViewer on the server machine and not on the client machine
Joined: Jul 09, 2010
Sep 16, 2010 06:56:34
Hello everyone, I hope someone could help me with this bug ...
why if I want to generate a report on a client machine Viewer JasperViewer appears on the server machine and not on the client machine?
I use the following code:
String webRoot = servletContext.getRealPath("/COMPTA"); fileXml = new File(webRoot + "\\reports\\balance_generale.jrxml"); JasperDesign jasperDesign = JRXmlLoader.load(fileXml); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, model, connection); JasperViewer.viewReport(jasperPrint, false); JasperExportManager.exportReportToPdfFile(jasperPrint, par.getType_rapport() + ".pdf");
thank you in advance.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: JasperViewer on the server machine and not on the client machine
Weird problem with JasperReports in web application
Problem: Jasper Report 3.7.2 and Oracle JDeveloper 11g
not loading the jasper xml files
Jasper Reports Exception
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013