I'd like to know If it's possible to generate a report template multiple times and have the resulting templates concatenated in a single PDF file. As of now, this os how i generate a single report: String input=FacesContext.getCurrentInstance().getExternalContext().getRealPath("/REPORT.jrxml"); File reporte= new File(input); design = JRXmlLoader.load(reporte); report = JasperCompileManager.compileReport(design); parametros.put("p_id",1); print= JasperFillManager.fillReport(report, parametros, new JREmptyDataSource()); byte[]archivo=JasperExportManager.exportReportToPdf(print); InputStream stream=new ByteArrayInputStream(archivo); content= new DefaultStreamedContent(stream, "application/pdf","REPORT"); The "p_id" parameter is what would change in every iteration of the report but the template would be the same. All the reports would be printed in the same file. How can i achieve this?