| Example JReport URLs |
| |
|
| |
Run on demand DHTML using tryView.jsp. This is the most common and recommended method as it will prompt the user for any unspecified parameters then call runReport.jsp.
http://localhost:8888/jinfonet/tryView.jsp?jrs.cmd=jrs.try_vw&jrs.report=%2fSampleReports%2fInvoiceReport.cls&jrs.catalog=%2fSampleReports%2fSampleReports.cat&jrs.result_type=8 |
| |
|
| |
Run on demand DHTML using runReport.jsp. This can be used when the application provides all the parameters or no parameters are used.
http://localhost:8888/jinfonet/runReport.jsp?jrs.cmd=jrs.web_vw&jrs.report=%2fSampleReports%2fInvoiceReport.cls&jrs.catalog=%2fSampleReports%2fSampleReports.cat&jrs.result_type=8 |
| |
|
| |
Run on demand Web Report using run.jsp.
http://localhost:8888/webreport/studio/entry/run.jsp?jrd_report={"name":"/SampleReports/Products.wls","ver":"-1"}&jrd_catalog={"name":"/SampleReports/SampleReports.cat","ver":"-1"}&jrd_param$={"P_Coutry":"USA"} |
| |
|
| |
Run on demand DHTML by directly calling the jrserver servlet. Any parameters would need to be specified in the URL.
http://localhost:8888/jrserver/SampleReports/SampleReports.cat/InvoiceReport.cls?jrs.cmd=jrs.web_vw&jrs.result_type=8 |
| |
|
| |
Run on demand DHTML by directly calling the dhtml servlet.
http://localhost:8888/jrdhtml/SampleReports/SampleReports.cat/InvoiceReport.cls?jrs.cmd=jrs.web_vw&jrs.result_type=8 |
| |
|
| |
Run on demand DHTML with parameters passed in URL
http://localhost:8888/jrserver/SampleReports/SampleReports.cat/InvoiceReport.cls?jrs.cmd=jrs.web_vw&jrs.result_type=8&jrs.param$Country=USA&jrs.param$State=CA&jrs.param$City=Cupertino |
| |
|
| |
Run on demand DHTML with parameters prompted for by JReport
http://localhost:8888/jrserver/SampleReports/SampleReports.cat/InvoiceReport.cls?jrs.cmd=jrs.try_vw&jrs.result_type=8 |
| |
|
| |
Run on demand DHTML with parameters using expressions for the values
http://localhost:8888/jinfonet/runReport.jsp?jrs.cmd=jrs.web_vw&jrs.catalog=%2fSampleReports%2fSampleReports.cat&jrs.report=%2fSampleReports%2fCustomerAnalysis.cls&jrs.param$P_StartDate={%22exp%22:%22dateadd('yyyy',-4,foreachyear(today()))%22}&jrs.param$p_EndDate={%22exp%22:%22today()%22}&jrs.result_type=8 |
| |
|
| |
Run on demand DHTML using dhtml JSP. Any parameters need to be specified in the URL.
http://localhost:8888/dhtmljsp/dhtml.jsp?jrs.catalog=%2fSampleReports%2fSampleReports.cat&jrs.report=%2fSampleReports%2fInvoiceReport.cls |
| |
|
| |
View Report Version Run this demo, the InvoiceReport.cls should has version in server
http://localhost:8888/jinfonet/viewVersion.jsp?jrs.cmd=jrs.view_ver_def&jrs.rst_version=2&jrs.ver_suff=.pdf&jrs.report=/SampleReports/InvoiceReport.cls |