Answers to Chapter 9

Reviewing It

1: Explain the difference between the HTP package and the HTF package.
A1: The HTP package contains PL/SQL procedures that generate HTML output, whereas the HTF package contains PL/SQL functions that return HTML code as the return value
2: What is htp.p used for?
A2: htp.p can be used to pass the text <HTML> to the HTML output
3: Why would you want to call another PL/SQL procedure in a Web environment?
A3: This called pl/sql is a way of giving a consistent look with appearances and error messages across the Web site
4: In Listing 9.9, line 4, why is the p_inv_id variable set to null?
A4: To provide the procedure with ...

Get Oracle9i™ Development by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.