Running reports via URL

There are two ways you can use to run reports via URLs: JSP and servlet. Detailed JSP and servlet parameters are introduced in Appendix 7: Parameters for running reports via URL.

Using JSPs

Two server JSPs:

One DHTML JSP:

The image below illustrates the relationship between these JSPs:

Using servlet

Server servlet

Call the servlet jrserver. For example, run the page report to the DHTML format:

http://localhost:8888/jrserver/SampleReports/SampleReports.cat/EmployeeInformation.cls?jrs.cmd=jrs.web_vw&jrs.result_type=8.

This request will be redirected to /dhtmljsp/dhtml.jsp with the following parameters:

jrs.catalog=/SampleReports/SampleReports.cat

jrs.report=/SampleReports/EmployeeInformation.cls

DHTML servlet

The DHTML servlet jrdhtml is used to run a page report to the DHTML format specifically, and you needn't specify the format type compared to the server servlet.

Examples:

Tip: When running reports to the PDF format via URL, you can encrypt the PDF results by using the encrypting PDF properties.

Below are some more specific examples about running reports via URL: