JReport Result Viewer Bean enables you to show the report result files (.rst extension), export the report result files to multiple file formats (HTML, PDF, XLS, RTF, Postscript, Text, CSV, Applet, E-mail) and to printer.
The Result Viewer Bean is available when you install JReport Designer. The following are the main components under the installation root that are required for using the Result Viewer Bean:
The components marked with * are must when you call the Result Viewer Bean. For other components you should add them to your class path to call the Result Viewer Bean depending on the use case. For example, when you want to use the Result Viewer Bean to export a result file to mail, you should add mail-1.4.7.jar and activation-1.1.1.jar with a valid path to your class path, and when you want to export the result file to XML, you should add resource_en_US.jar with a valid path to your class path.
Reference: For more information about the Result Viewer Bean, see also the JReport Javadoc jet.bean.JRResultViewer class in <install_root>\help\api
.
Below provides a generation introduction about the Result Viewer Bean: