Assuming that BIRT is installed with Eclipse and functional try the following:
a) In your report design add a new Report Parameter ( RP_param )
b) In your data set Query create your query with something like "WHERE ID = ?" or some other criteria using a ? for the value.
c) In your data set add a Parameter ( DS_param ) then set the default value of this parameter to the Report Parameter you created earlier (RP_param) to do this click on the default value field then the ... button. In the resulting dialog choose Category 'Report Parameters', sub category 'All' then double click your Report Parameter to add it and click OK.
I didnt understand where to write this code. I am using struts in my application. Do i write this in the action class of the jsp page
which forwards to the report? What is reportDesignFile? What is engine?
If there is some other way to pass parameters to the report through java/jsp application, tat also will do...