wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes Creating BIRT report from the Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Creating BIRT report from the Servlet" Watch "Creating BIRT report from the Servlet" New topic

Creating BIRT report from the Servlet

Rahul Ashar

Joined: Apr 01, 2007
Posts: 20
I have a web application developed in Eclipse 3.5 , with SQL server as my database. Now the project requirement is to provide the reporting tool. I have updated eclipse with all the awailable BIRT plugins.
I have also downloaded a web application called 'birt', which runs correctly and shows the index page.
I have also downloaded the code from the eclipse.org for the servlet , however, the code is not giving expected output (described on the web page itself.)

However there is no source code added in the war file so I could not work out the BIRT runtime engine.
Could some one show me the sample code how one can pass parameters to the reports and how to run a report from the jsp page (from the client request.)
Nitin Jadhav

Joined: Nov 02, 2009
Posts: 2
Its really easy
There are multiple options you can display reports. Most easy one is: Use birtViewer web app war file you downloaded from project site. You can use this war to display your reports by deploying this birt.war file in your server and using URL like


You can provide various parameters to report webapp to customize look and feel of report.

Other good option is use birt JSP tags, for example:

<birt:viewer id="birtViewer" reportDesign="myreport.rptdesign" pattern="frameset" height="450" width="700" format="html" ></birt:viewer>

There is good link to read more:

Rahul Ashar

Joined: Apr 01, 2007
Posts: 20
Thank you
I agree. Here's the link: http://aspose.com/file-tools
subject: Creating BIRT report from the Servlet
Similar Threads
How to Integrate BIRT with Struts
How to integrate birt reoprt to web application
Eclipse BIRT
how to call BIRT in Java?
How to incorporate the layout creating capabilities of BIRT Report engine in web application