Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Support for Java Server Pages Reference (9i)

Support for Java Server Pages Reference (9i)

Ratings: (0)|Views: 33 |Likes:
Published by api-27242535

More info:

Published by: api-27242535 on Oct 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

Oracle9i
Support for JavaServer Pages Reference
Release 2 (9.2)
March 2002
Part No. A96657-01
Oracle9i Support for JavaServer Pages Reference, Release 2 (9.2)
Part No. A96657-01
Copyright \u00a9 2000, 2002 Oracle Corporation. All rights reserved.
Primary Author: Brian Wright
Contributing Author: Michael Freedman
Contributors: Julie Basu, Alex Yiu, Sunil Kunisetty, Gael Stevens, Ping Gu o, YaQing Wang, Song Lin,
Hal Hildebrand, Jasen Minton, Matthieu Devin, Jose Alberto Fernandez, Olga Peschansky, Jerry

Schwarz, Clement Lai, Shinji Yoshida, Kenneth Tang, Robert Pang, Kannan Muthukkaruppan, Ralph Gord on, Shiva Prasad, Sharon Malek, Jeremy Lizt, Kuassi Mensah, Susan Kraft, Sheryl Maring, Ellen Barnes, Angie Long, Sanjay Singh, Olaf van der Geest

The Programs (which include both the software and documentation) contain proprietary information of
Oracle Corporation; they are provided under a license agreement containing restrictions on use and
d isclosure and are also protected by copyright, patent and other intellectual and industrial p roperty
laws. Reverse engineering, disassembly or decom pilation of the Programs, except to the extent required

to obtain interoperability with other independ ently created software or as specified by law, is prohibited .

The inform ation contained in this docum ent is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this d ocument is error-free. Except as may be expressly perm itted in your license agreem ent for these

Programs, no p art of these Programs may be reproduced or transmitted in any form or by any means,
electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation.
If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on
behalf of the U.S. Governm ent, the following notice is applicable:
Restricted Rights N oticePrograms delivered subject to the DOD FAR Supplement are "commercial
computer software" and use, duplication, and disclosure of the Programs, including documentation,
shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement.

Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and d isclosu re of the Programs shall be subject to the restrictions in FAR 52.227-19, Comm ercial Compu ter Softw are - Restricted Rights (June, 1987). Oracle Corporation, 500

Oracle Parkw ay, Redw ood City, CA 94065.
The Program s are not intended for use in any nuclear, aviation, m ass transit, m edical, or other inherently

d angerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle Corporation d isclaims liability for any damages caused by such u se of the Programs.

Oracle is a registered trademark, and Oracle9i, PL/ SQL, SQL*Plus, and Oracle Store are trad emarks or
registered trademarks of Oracle Corporation. Other names may be trademarks of their respective
owners.
iii
Contents
Send Us Your Comments...................................................................................................................ix
Preface............................................................................................................................................................xi

Intended Audience...............................................................................................................................xi i Documentation Accessibility..............................................................................................................xi i Organization..........................................................................................................................................xii i Related Documentation......................................................................................................................x iv Conventions.........................................................................................................................................xvii i

1 General Overview
Introduction to JavaServer Pages.....................................................................................................1-2

What a JSP Page Looks Like........................................................................................................1-2 Convenience of JSP Coding Versus Servlet Coding................................................................1-3 Separation of Business Logic from Page Presentation: Calling JavaBeans..........................1-5 JSP Pages and Alternative Markup Languages........................................................................1-5

JSP Execution.......................................................................................................................................1-7

JSP Containers in a Nutshell.......................................................................................................1-7 JSP Pages and On-Demand Translation....................................................................................1-7 Requesting a JSP Page..................................................................................................................1-8

Overview of JSP Syntax Elements.................................................................................................1-10

Directives.....................................................................................................................................1-10 Scripting Elements......................................................................................................................1-12 JSP Objects and Scopes..............................................................................................................1-14 JSP Actions and the <jsp: > Tag Set.........................................................................................1-18

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->