Skip Headers

Oracle9i Reports Tutorial
Release 9.0

Part Number A90900-01
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

3
Reviewing the Source Code of the Web Report

Estimated completion time: 5 minutes

In Chapter 2, "Adding Data to a Report", you added a data model to your Web page. Here, we show the relationship between the entries you made in the wizard and the data model you created, as well as the JSP and XML code.

Here, you will examine the custom JSP tags that Reports Builder inserted into your JSP. These custom JSP tags enable Reports to add the data you've chosen in the Data Wizard to the JSP-based Web report.

3.1 View the Web source in Reports Builder

To view the Web source of your report in Reports Builder:

  1. Make sure the report emprev_<your initials>.jsp is open in Reports Builder.

  2. In the Object Navigator, double-click the Data Model node to display the data model for this report. Your data model should look something like this:

Figure 3-1 Data Model for your HTML report

Text description of adddata_dm.gif follows.

Text description of the illustration adddata_dm.gif

  • In the Data Model view, click the Web Source icon in the toolbar.


    Note:

    You an also double-click the Web Source icon under the report name in the Object Navigator.


    The source code displays in the Web Source view. In this code, scroll through and note the following items:

    3.2 Verify your JSP code

    If you've gone through this chapter and still aren't sure whether your JSP is correct, open the file we've provided, called emprev.jsp. The file is located in the tutorial examples directory you created.

    3.3 Summary

    Congratulations! You have finished reviewing the data you added to your Web report in Chapter 2, "Adding Data to a Report". You now know how to view the source code in the Reports Builder Web Source view and have learned about these Reports custom JSP tags:

    Continue to Chapter 4, "Creating a Report Block for the Web Report" to add a report block and finish your Web report.

    For more information on Reports JSP tags, see the Reports Builder online help.


  • Go to previous page Go to next page
    Oracle
    Copyright © 2002 Oracle Corporation.

    All Rights Reserved.
    Go To Documentation Library
    Home
    Go To Product List
    Solution Area
    Go To Table Of Contents
    Contents
    Go To Index
    Index