Output JSP pages
Information about output JSP pages follows.
File name and location
A report output JSP page should be named ReportNameReportOutputView.jsp, and should be located in the following directory: WC_eardir/CommerceAccelerator.war/tools/reporting.
The output JSP pages for the default reports that ship with WebSphere Commerce are also in this directory. You can reference these pages as examples.
ReportDataBean
In an output JSP page use the ReportDataBean. For more information see Reporting framework object model.
common.jsp
You must include the file common.jsp in all input and output JSP pages. This JSP page provides functionality that is required by input and output JSP pages, for example, the creation of some objects used in the report generation process.
Helper JSP files available
The output JSP page usually does not have to be modified or customized, except for the name of the file. In most cases, you can simply copy any report output JSP file and modify the reportPrefix value to reflect your report name.
If you do want to customize the output JSP, helper JSP files are available. If using helper JSP files, your output JSP file must include ReportOutputHelper.jsp. The output pages handle formatting. All formatting methods are contained in ReportOutputHelper, coordinating with the report output XML file.
For more information see Helper JSP files provided for WebSphere Commerce Accelerator reports and Add a helper to input and output JSP files.
The report definition XML file, however, specifies all columns and their formatting based on column type. For more information see Sample report input and output xml files.
Related concepts
Related tasks
Related reference