sistemi.sanita Posted September 28, 2015 Share Posted September 28, 2015 HELP!!!!I created a report with Jaspersoft iReport Designer 5.6.0 and the report is successfully opened on my web application ( on different browsers : IE , Firefox , Chrome , etc ) , but does not open on the Android browser . My code is: JasperPrint jasperPrint = JasperFillManager.fillReport(jrxml,parametri,dbcon); OutputStream os = response.getOutputStream(); JRExporter exporter = null; response.setContentType("application/pdf"); response.setHeader("Content-Disposition", "inline; filename="report.pdf""); exporter = new JRPdfExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, os); dbcon.close(); exporter.exportReport(); os.close(); Thank's Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now