This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Creating BIRT report from the Servlet
It's not a secret anymore!