Prev | Current Page 197 | Next

John Ward

"Practical Data Analysis and Reporting with BIRT"

5.25\webapps.
Chapter 11
[ 257 ]
Accessing the BIRT Web Viewer is as simple as calling the WebViewerExample
Context.
When copying the WebViewerExample folder, you can rename this folder to anything
you want. Obviously WebViewerExample is not a good name for an online web
application. So in the following screenshot, I renamed the WebViewerExample folder
to birtViewer, and am accessing the BIRT Web Viewer test report.
Deployment
[ 258 ]
Installing Reports into the Web Viewer
Once the BIRT Viewer is set up, Deploying reports is as simple as copying the report
design files, Libraries, or report documents into the application's Context, and calling
it with the appropriate URL parameters.
For example, we will install the reports from the Classic Cars ??“ With Library
folder into the BIRT Web Viewer at birtViewer. In order for these reports to work,
all dependent Libraries need to be installed with the reports. In the case of the
example application, we currently have the report folder set to the Root of the web
application folder.
Accessing Reports in the Web Viewer
Accessing reports is as simple as passing the correct parameters to the Web Viewer.
In the BIRT Web Viewer, there are seven servlets that you can call to run reports,
which are as follows:
frameset
run
preview
??? ??? ???
Chapter 11
[ 259 ]
download
parameter
document
output
Out of these, you will only need frameset and run as the other servlets are for
Engine-related purposes, such as the preview for the Eclipse designer, the parameter
Dialog, and the download of report documents.


Pages:
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
Noclegi Władysławowo e-lady traktorki ogrodowe need cash fast bad credit prace wysokościowe