When creating a Java Reporting Component report source, the report's path can be specified in several different ways:
This is an absolute path that specifies a report located on the machine running the Java Reporting Component.
For example, C:\reports\sample.rpt.
This specifies a report file that is accessible through a network resource.
For example, \\hostname\sample.rpt.
For example, reports\sample.rpt refers to a directory called reports in the same directory as the Java Reporting Component.
This is a URL that is specified relative to the location of the Java Reporting Component.
For example, ../reports/sample.rpt resolves to /WEB where the Java Reporting Component JAR file is in /WEB.
The behavior of relative paths can be modified by specifying the value of the reportlocation tag in the CrystalReportEngineWEB. The value of the reportlocation tag becomes the new root directory that is used to determine the location of a report.
The CrystalReportEngine
| Crystal Decisions http://www.crystaldecisions.com/ Support services http://support.crystaldecisions.com/ |