title: Calling Jasper iReport from Servlet
body: <p>I am working on a web application based on JSP and MySql. The basic requirement is- I need to display a report when user clicks on a hyperlink and provide option to export the report to excel. </p>
  
  <p>I am using NetBeans 7.1.2 as my IDE. I have installed iReportDesigner-4.5.0 as a plugin in NetBeans. I have created a sample report and stored the .jrxml and .jasper files inside my project folder. Now I am trying to call the report using a servlet. I have included the following JAR files inside my project library - </p>
  
  <ol>
  <li>mysql-connector-java-5.1.18-bin.jar</li>
  <li>commons-beanutils-1.8.2.jar</li>
  <li>commons-collections-3.2.1.jar</li>
  <li>groovy-all-1.7.5.jar</li>
  <li>iText-2.1.7.jar</li>
  <li>jasperreports-4.5.0.jar</li>
  <li>commons-digester-1.7.jar</li>
  <li>commons-logging-1.1.jar</li>
  <li>jfreechart-1.0.12.jar</li>
  <li>commons-javaflow-20060411.jar</li>
  </ol>
  
  <p>Can anyone please provide me some codes to <strong>call the iReport from the servlet</strong>? </p>