title: How can use same jrxml file with Java Code.?
body: <p>I am using </p>
  
  <blockquote>
    <p>filename.jrxml</p>
  </blockquote>
  
  <p>file to create a simple report with </p>
  
  <blockquote>
    <p>itext4.8.0</p>
  </blockquote>
  
  <p>and it is working fine but i am passing parameter like this.</p>
  
  <blockquote>
    <p>$P{userId}]</p>
  </blockquote>
  
  <p>Now i will want to use same </p>
  
  <blockquote>
    <p>filename.jrxml</p>
  </blockquote>
  
  <p>With java code How can i achieve this ? My main concern is how can we pass parameter value as in ireport when i am running report in ireport it is opening popup for parameter and i am entering value .But in Java code how can pas that parameter?</p>
  
  <p><strong>Note:-I dont want to pass connection with reports.</strong></p>