title: How to loop the printing of a subreport
body: <p>I have a Java application that fills a jasper report, with many subreports each containing up to 20 dynamic fields, to print a pdf file.</p>
  
  <p>I need to print one of my subreports more than one time: I take this information from Java. How can I loop the printing phase of this subreport, passing to JasperReports' report just the number of repetitions that I need?</p>
  
  <p>Practically I have an array of <em>n</em> object and I want to add to my main report <em>n</em> subreports, each done more or less like this: </p>
  
  <p><img src="https://i.stack.imgur.com/8s023.png" alt="subreport_example">.</p>
  
  <p>I'm using Jaspersoft Studio 6.3.1.</p>