This lesson assumes that you have been asked to integrate ProductSalesAnalysis.cls with a JSP page in the Sales Order application. However, you need more flexibility than the JReport mainpage tag provides. This lesson will display ProductSalesAnalysis.cls in Page Report Studio in a new web browser window.
In this lesson you will use Page Report Studio API to run the report instead of using the tag library. The JSP page that runs the report is provided as part of the lesson.
<install_root>\help\samples\JSPSamples\JinfonetGourmetJavaDemo
to <install_root>\public_html\jag
.
Create the jag directory if you did not already do so in Lesson 1.
<%@ page import="jet.web.dhtml.*" %> |
The report is displayed according to the specifications provided.
In this lesson you have learned how to use JSP and Page Report Studio API to run a report.