views:

171

answers:

1

Hi, I am passing the outputstream created as

FileOutputStream out = new FileOutputStream(reportOutput, true);

to the method

JasperExportManager.exportReportToPdfStream(jasperPrint, out);

I am printing multiple times in the same file using jasperreport with different templates and data. I expected a single file created containing all the data but the output file contains result from last jasper print. The O/p stream is in append mode but Jasper doesn't seem to respect this. Could somebody confirm this?

Thanks Nayn

A: 

I have tried a lot of stuff for the same but I got the same output as urs. Please if you find the solution for the above problem do post it over here

pritesh