This is a basic sample designed to show you how to use the Viewer Tag Library to display a report using the Java Reporting Component.
You must also ensure that the appropriate JAR files and additional support files are present. If you are using a wizard, this is automatically done for you.
<%@ taglib uri="/crystal
Note: You can specify any name for the prefix attribute. This just determines what tag prefix you use to access the tag library's tags.
In this tag, you must specify the viewer name and the type report source that is being used.
<crviewer:viewer viewerName="CrystalViewer" reportSourceType="reportingComponent" >
This specifies the report that is displayed.
<crviewer:report reportName="/reports/sample.rpt"/>
| Crystal Decisions http://www.crystaldecisions.com/ Support services http://support.crystaldecisions.com/ |