Skip to Content
Oracle® Web Application Programming for PL/SQL® Developers
book

Oracle® Web Application Programming for PL/SQL® Developers

by Susan Boardman, Melanie Caffrey, Solomon Morse, Benjamin Rosenzweig
December 2002
Intermediate to advanced
745 pages
17h 26m
English
Pearson
Content preview from Oracle® Web Application Programming for PL/SQL® Developers

Unit 10.2. Create Web Pages in PL/SQL

A First Web Toolkit Web Page

The HTP package contains procedures that generate HTML tags. For every HTML tag there is an HTP procedure that produces that tag. The most commonly used procedure in the HTP package, however, is the print, or htp.print(‘parameter’) procedure. This procedure simply prints whatever is passed to it as a parameter and adds a new line to the end of the parameter.

FOR EXAMPLE

htp.print('This is an example.'); 
htp.print('This is the second line.'); 

produces this on a Web browser:

This is an example. 
This is the second line. 

The alias for htp.print(); is htp.p();.

The htp.p procedure ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java™ Oracle® Database Development

Java™ Oracle® Database Development

David J. Gallardo
The Java EE 6 Tutorial: Basic Concepts, Fourth Edition

The Java EE 6 Tutorial: Basic Concepts, Fourth Edition

Eric Jendrock, Ian Evans, Devika Gollapudi, Kim Haase, Chinmayee Srivathsa
Oracle® PL/SQL® Interactive Workbook, Second Edition

Oracle® PL/SQL® Interactive Workbook, Second Edition

Benjamin Rosenzweig, Elena Silvestrova

Publisher Resources

ISBN: 0130477311Purchase book