title: Jasper Reports caching JasperReport file
body: <p>I try to create a servlet based report service.</p>
  <p>When app is running and I change the .jrxml file my app still
  gives me report with no changed design, so I think that jasper cache it somewhere.</p>
  <p>How can I turn it off or force to clear this cache?</p>
  <pre><code> File compiledTemplate=new File(JASPER_COMPILED_TEMPLATES_PATH+  File.separator+templateName+&quot;.jasper&quot;);
          
   File template=new File(JASPER_TEMPLATES_PATH+File.separator+templateName+&quot;.jrxml&quot;);
          JasperReport jasperReport=null;
          
  
          if(compiledTemplate.exists()){
              compiledTemplate.delete();
          }
          
          JasperCompileManager.compileReportToFile(template.getAbsolutePath(),compiledTemplate.getAbsolutePath());
          jasperReport=(JasperReport) JRLoader.loadObjectFromFile(compiledTemplate.getAbsolutePath());
          
          return jasperReport;
  </code></pre>