Using the BIRT Report Viewer
This Viewer is an AJAX based J2EE application that illustrates using the BIRT engineto generate and render report content.The Web Viewer can be used to generate and render reports, and also supports moreinteractive features such as table of contents, exporting report content to severalformats, client and server side printing, as well as report pagination. The featuresavailable will depend on what servlet mapping is used, the settings available in theweb.xml file and what values are passed as parameters.The Example Viewer can also be deployed as an Eclipse plugin in an RCPapplication.The Example Viewer also ships with a tag library which can be used to provide reportfunctionality within your existing web applications.
The BIRT Web Viewer consist of two main Servlets, the ViewerServlet and theBirtEngineServlet. These Servlets handle three mappings: ( /frameset, /run, and/preview).The
mapping renders the report in the full AJAX viewer complete withtoolbar, navigation bar and table of contents features. This mapping also generates anintermediate report document from the report design file to support the AJAX basedfeatures.eghttp://localhost:8080/viewer/frameset?__report=myreport.rptdesign&parm1=value1The
mapping runs and renders the report but does not create a report document.This mapping does not supply HTML pagination, TOC or toolbar features, but doesuse the AJAX framework to collect parameters, support report cancelling and retrievethe report output in HTML format.eg http://localhost:8080/viewer/run?__report=myreport.rptdesign&parm1=value1The
mapping runs and renders the report and does not generate a reportdocument, although an existing report document can be used in which case just therender operation occurs. The output from the run and render operation is sent directly