JReport Result Viewer Bean has four properties: reportName, showInfoLevel, logFile and loadReport. The following methods are used to set the values of these properties:
Parameters
Note: Here the report name is the result file name with an .rst extension (NOT the report file .cls).
bean.setTempPath("c:\\temp");
If you do not set the temporary path, the default path is the directory from where the Bean will be run.