You can automatically generate a JSP page that
displays a report using the Viewer Tag
Library. The Viewer Tag
Library lets you access the capabilities of the viewers without
embedding Java code in your JSP pages.
In the
Project
Explorer view, expandCrystalReportsWebProject
> WebContent > Sample Reports.
Right-click
Statement of
Account.rpt, point to
Crystal
Reports, and click
Create Report Viewer
JSP
.
The
"Add Crystal Report
Viewer Options" dialog box appears.
Select
Insert standard
Crystal Report Viewer Tag Library code, and click
OK.
The
Statement of
Account-viewer.jsp file is added to the
Sample
Reports folder.
Right-click
Statement of
Account-viewer.jsp, point to
Run As
and click
Run on
Server.