Locating the SDK components

The Java classes that are specific to the Viewer Java SDK are packaged into an archive file named webreporting-core.jar. These core SDK classes, however, are dependent upon classes from several other JAR files and support files that are installed as part of Crystal Reports 10 Java Reporting Component.

On Windows systems, the JAR files can be found in C:\Program Files\Common Files\Crystal Decisions\2.5\java\lib. On Unix systems, the JAR files can be found in crystal-root/java/lib, where crystal-root is the directory where Crystal Reports 10 Java Reporting Component is installed. If you would like to use the Viewer Tag Library, ensure that the taglib directory is included with your application as well.

Once you have located the JAR files, you must add them to your web application's WEB-INF/lib folder. The CrystalReportEngine-Config.xml file contained in the directory containing the JAR files must also be copied over. It contains configuration details for the Java Reporting Component. For more information on how to configure these settings, see Java Reporting Component configuration.

Support files are also located under the same directory structure outlined above. The crystalreportviewers10 directory is needed by the viewer for images, style sheets, and general print and export handling. This directory should be copied to your web application's root directory. You can specify the location of this directory by setting the crystal_image_uri context parameter in your web.xml file.



Crystal Decisions
http://www.crystaldecisions.com/
Support services
http://support.crystaldecisions.com/