fabboy Posted March 29, 2007 Share Posted March 29, 2007 Hi, I use Jasper Report in my web application. Some reports take a lot of time for running (Final report can contains up to 12 000 page by report.) I want to create a progress bar [exemple : 12 pages generated / 50 ] in my webapplication to know how many pages are process during this operation : Code:JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, rapParameters, connection); Is it possible ? For information, jasper report build approximatively one page by line of the resultset (of the main SQL request). Sorry for my english speaking (I'am french) Thank for your help... Link to comment Share on other sites More sharing options...
buedenbenderd Posted August 8, 2007 Share Posted August 8, 2007 Hi fabboy, I thing a progress bar is a very good way to visual the loading and filling status. I'm having the same problem with big xml data sources ( >20MB ). For example:[color=#0000FF]FileInputStream fileInputStram = new FileInputStream(_xmlFile);InputStream inStram = new GZIPInputStream(fileInputStram);JRXmlDataSource jrxmlds = new JRXmlDataSource(inStram, "report.jasper"); // takes > 2 minJasperPrint jpr = JasperFillManager.fillReport(jasperInputStream, parameters, jrxmlds);JasperViewer jv = new JasperViewer(jpr,false);jv.show();[/color]Is there any possibility to visual the actual status and the left time to show the jasperViewer?with best regardsDaniel Post edited by: buedenbenderd, at: 2007/08/08 07:28 Link to comment Share on other sites More sharing options...
erictan1974 Posted November 27, 2013 Share Posted November 27, 2013 is there anyone from jasper answer this? really need help here also. tnks 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