Oracle JavaServer Pages Developer's Guide and Reference
Release 8.1.7

Part Number A83726-01

Library

Product

Contents

Go to previous page

Index

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 


Symbols

_jspService() method, B-12

A

action tags
forward tag, 1-21
getProperty tag, 1-19
include tag, 1-20
overview, 1-18
param tag, 1-19
plugin tag, 1-22
setProperty tag, 1-18
useBean tag, 1-18
addclasspath, ojspc option, 6-27
alias translation, Apache/JServ
alias_translation configuration parameter, A-18
overview, 4-38
Apache/JServ
Apache "mods", 2-6
classpath configuration, A-8
config, map file name extensions, A-11
mod_jserv module, 2-8
mod_ose module, 2-7
OracleJSP application framework, 4-37
OracleJSP dynamic include support, 4-35
overview of JSP-servlet session sharing, 4-37
overview of special considerations, 4-34
setting configuration parameters, A-25
support for OracleJSP, 2-12
use with Internet Application Server, 4-34
application events
servlet application lifecycles, B-7
with globals.jsa, 5-42
with JspScopeListener, 5-32
application framework for Apache/JServ, 4-37
application hierarchy, B-9
application object (implicit), 1-16
application root functionality, 3-4
application scope (JSP objects), 1-15
application support
overview, 3-6
servlet application lifecycles, B-7
through globals.jsa, 5-38
application_OnEnd tag, globals.jsa, 5-43
application_OnStart tag, globals.jsa, 5-42
application-relative path, 1-9
appRoot, ojspc option, 6-28

B

batch updates--see update batching
bean references, compile-time JML, C-4
binary data, reasons to avoid in JSP, 4-19
binary file deployment, 6-69
binary file location, ojspc d option, 6-29
bypass_source config param, A-18

C

call servlet from JSP, JSP from servlet, 3-7
call tag, compile-time JML, C-12
checker pages, 4-12
choose tag, JML, 7-35
class loader issues, 4-21
class naming, translator, 6-5
class reloading, dynamic, 4-26
classesXX.zip, required file for JDBC, A-5
classpath
classpath and class loader issues, 4-21
classpath config param, A-19
configuration, Apache/JServ, A-8
configuration, JSWDK, A-9
configuration, Tomcat, A-10
Web server classpath configuration, A-8
client-side considerations, 3-3
client-side translation, Oracle8i deployment
hotloading page implementation classes, 6-62
loading translated pages, 6-58
overview, 6-54
pre-translating with ojspc, 6-54
publishing pages with publishservlet, 6-63
vs. server-side translation, 6-19
code, generated by translator, 6-2
comments (in JSP code), 1-14
compilation
javaccmd config param, A-21
ojspc noCompile option, 6-31
compile-time JML tags
syntax support, C-4
tag summary and descriptions, C-7
taglib directive, C-3
config object (implicit), 1-17
configuration
classpath and class loader issues, 4-21
classpath, Apache/JServ, A-8
classpath, JSWDK, A-9
classpath, Tomcat, A-10
config param descriptions (non-OSE), A-18
config params, summary table (non-OSE), A-15
equivalent code for config params, OSE, 4-33
map file name extensions, Apache/JServ, A-11
map file name extensions, JSWDK, A-12
map file name extensions, Tomcat, A-12
map JSP file name extensions, A-11
optimization of execution, 4-20
overview, OSE configuration, A-27
setting configuration parameters, A-25
setting parameters, Apache/JServ, A-25
setting parameters, JSWDK, A-26
setting parameters, Tomcat, A-26
Web server and servlet environment, A-7
Web server classpath, A-8
configuration parameters (non-OSE)
setting, A-25
summary table and descriptions, A-15
ConnBean JavaBean
sample application, 9-23
usage (for connection), 5-14
ConnCacheBean JavaBean
sample application, 9-26
usage (for connection cache), 5-16
connection caching
overview, 4-6
sample applications, 9-16
through ConnCacheBean JavaBean, 5-16
connection, server-side (for OSE), 4-29
containers
JSP containers, 1-7
OSE JSP container, 2-22
servlet containers, B-3
content type settings
dynamic (setContentType method), 8-4
static (page directive), 8-2
context path, URLs, 6-15
context, publishjsp option, 6-45
context-relative path, 1-9
cookies, B-6
createcontext command, 6-15, 6-16, 6-18, 6-45
CursorBean JavaBean
sample application, 9-24
usage (for DML), 5-20
custom tags--see tag libraries

D

d, ojspc option (binary output dir), 6-29
database access
database-access JavaBeans, 5-13
server-side JDBC connection, 4-29
starter sample, 3-21
strategies, 2-8
database schema objects--see schema objects
database-access JavaBeans
ConnBean for connection, 5-14
ConnCacheBean for connection cache, 5-16
CursorBean for DML, 5-20
DBBean for queries, 5-19
overview, 5-13
sample applications, 9-21
datatypes
JML datatypes example, 5-7
JmlBoolean extended type, 5-3
JmlFPNumber extended type, 5-5
JmlNumber extended type, 5-4
JmlString extended type, 5-6
Oracle JML extended types, 5-2
overview of OracleJSP extensions, 2-13
DBBean JavaBean
sample application, 9-21
usage (for queries), 5-19
dbClose SQL tag, close connection, 5-25
dbCloseQuery SQL tag, close cursor, 5-27
dbExecute SQL tag, DML/DDL, 5-27
dbNextRow SQL tag, process results, 5-27
dbOpen SQL tag, open connection, 5-24
dbQuery SQL tag, execute query, 5-26
debugging
debug, ojspc option, 6-30
emit_debuginfo config param, A-20
through JDeveloper, 2-23
declarations
global declarations, globals.jsa, 5-47
member variables, 1-12
method variable vs. member variable, 4-14
deployment environment, 3-2
deployment to Oracle8i
ojspc pre-translation tool, 6-23
overview of hotloading, 6-20
overview of loadjava tool, 6-36
overview of session shell tool, 6-38
overview of tools, 6-23
overview, features and logistics, 6-12
server-side vs. client-side translation, 6-19
static file location, 6-17
with client-side translation, 6-54
with server-side translation, 6-41
deployment, general considerations
deploying pages with JDeveloper, 6-71
deployment of binary files only, 6-69
doc root, iAS vs. OSE, 6-67
general pre-translation without execution, 6-69
ojspc for non-OSE environments, 6-68
overview, 6-67
WAR deployment, 6-70
developer_mode config param, A-20
development environment, 3-2
directives
global directives, globals.jsa, 5-47
include directive, 1-11
overview, 1-10
page directive, 1-10
taglib directive, 1-11
directory alias translation--see alias translation
doc root
functionality, 3-4
iAS vs. OSE, 6-67
dynamic class reloading, 4-26
dynamic forward, special support for Apache/JServ, 4-35
dynamic include
action tag, 1-20
for large static content, 4-13
logistics, 4-9
special support for Apache/JServ, 4-35
vs. static include, 4-9
dynamic page reloading, 4-26
dynamic page retranslation, 4-25

E

EJBs, calling from JSPs
from the middle tier, 4-3
from the Oracle Servlet Engine, 4-4
overview, 4-2
emit_debuginfo config param, A-20
Enterprise JavaBeans--see EJBs
environments, development vs. deployment, 3-2
error processing (runtime), 3-18
event handling
servlet application lifecycles, B-7
with globals.jsa, 5-42
with HttpSessionBindingListener, 3-12
with JspScopeListener, 5-32
exception object (implicit), 1-17
execution models for OracleJSP, 2-21
execution of a JSP page, 1-7
explicit JSP objects, 1-15
expressions, 1-12
extend, ojspc option, 6-30
extend, publishjsp option, 6-46
extensions
extended functionality for servlet 2.0, 2-2
overview of database-access JavaBeans, 2-14
overview of extended datatypes, 2-13
overview of extended NLS support, 2-16
overview of globals.jsa (application support), 2-17
overview of JML tag library, 2-15
overview of JspScopeListener, 2-17
overview of Oracle-specific extensions, 2-16
overview of PL/SQL Server Pages support, 2-17
overview of portable extensions, 2-13
overview of programmatic extensions, 2-13
overview of SQL tag library, 2-15
overview of SQLJ support, 2-16
overview of XML/XSL support, 2-14
external resource file
for static text, 4-13
through external_resource parameter, A-21
through ojspc extres option, 6-30
external_resource config param, A-21
extres, ojspc option, 6-30

F

fallback tag (with plugin tag), 1-22
Feiner, Amy (welcome), 1-3
file name extensions, mapping, A-11
files
generated by translator, 6-6
installation for non-Oracle environments, A-6
locations, ojspc d option, 6-29
locations, ojspc srcdir option, 6-33
locations, page_repository_root config param, A-22
locations, translator output, 6-7
OracleJSP required files, A-4
flush tag, JML, 7-39
for tag, JML, 7-36
foreach tag, JML, 7-37
forward tag, 1-21
forward tag, compile-time JML, C-14
full names, schema objects, 6-13

G

generated code, by translator, 6-2
getProperty tag, 1-19
getProperty tag, compile-time JML, C-10
globals.jsa
application and session lifecycles, 5-39
application deployment, 5-38
application events, 5-42
distinct applications and sessions, 5-38
event handling, 5-42
example, declarations and directives, 5-48
extended support for servlet 2.0, 5-37
file contents, structure, 5-48
global declarations, 5-47
global JavaBeans, 5-47
global JSP directives, 5-47
overview of functionality, 5-37
overview of syntax and semantics, 5-39
sample application, application and session events, 9-44
sample application, application events, 9-41
sample application, global declarations, 9-47
sample applications, 9-41
session events, 5-44

H

hotload, ojspc option, 6-31
hotload, publishjsp option, 6-45
hotloading (for OSE)
enabling and accomplishing, 6-21
enabling through ojspc, 6-56
features and advantages, 6-22
hotloading page implementation classes, 6-62
ojspc hotload option, 6-31
overview, 6-20
publishjsp hotload option, 6-45
HttpJspPage interface, B-12
HttpSession interface, B-4
HttpSessionBindingListener, 3-12

I

if tag, JML, 7-34
implement, ojspc option, 6-31
implement, publishjsp option, 6-46
implicit JSP objects
overview, 1-16
using implicit objects, 1-17
include directive, 1-11
include tag, 1-20
include tag, compile-time JML, C-14
inner class for static text, 6-3
installation of files, non-Oracle environment, A-6
interaction, JSP-servlet, 3-7
Internet Application Server
OracleJSP support, 2-5
use of Apache/JServ, 4-34
invoke servlet from JSP, JSP from servlet, 3-7

J

java command (session shell), 6-62
JavaBeans
bean references, compile-time JML, C-4
database-access JavaBean samples, 9-21
global JavaBeans, globals.jsa, 5-47
JML bean binding tags, 7-30
Oracle database-access beans, 5-13
query bean sample application, 9-13
use for separation of business logic, 1-5
use with useBean tag, 1-18
useBean sample application, 9-3
vs. scriptlets, 4-2
javaccmd config param, A-21
JDBC in JSP pages
performance enhancements, 4-5
required files, A-5
sample applications, 9-10
server-side internal driver (for OSE), 4-29
JDeveloper
OracleJSP support, 2-23
use for deploying JSP pages, 6-71
jml call tag, compile-time JML, C-12
jml choose tag, 7-35
JML datatypes
descriptions, 5-2
example, 5-7
JML expressions, compile-time JML
attribute settings, C-5
syntax, C-5
jml flush tag, 7-39
jml for tag, 7-36
jml foreach tag, 7-37
jml forward tag, compile-time JML, C-14
jml getProperty tag, compile-time JML, C-10
jml if tag, 7-34
jml include tag, compile-time JML, C-14
jml lock tag, compile-time JML, C-13
jml otherwise tag, 7-35
jml plugin tag, compile-time JML, C-15
jml print tag, C-15
jml remove tag, 7-33
jml return tag, 7-38
jml set tag, compile-time JML, C-11
jml setProperty tag, compile-time JML, C-10
jml styleSheet tag, 5-10
JML tags
attribute settings, compile-time JML, C-5
bean references, compile-time JML, C-4
descriptions, additional compile-time tags, C-8
descriptions, bean binding tags, 7-30
descriptions, logic/flow control tags, 7-34
descriptions, XSL stylesheet tags, 5-10
expressions, compile-time JML, C-5
overview, 7-20
philosophy, 7-21
requirements, 7-20
sample application, 9-29
summary of tags, categories, 7-21
summary, compile-time vs. runtime, C-7
tag descriptions, symbology and notes, 7-30
tag library description file, 7-22
taglib directive, 7-22
taglib directive, compile-time JML, C-3
jml transform tag, 5-10
jml useBean tag, compile-time JML, C-9
jml useCookie tag, 7-32
jml useForm tag, 7-31
jml useVariable tag, 7-30
jml when tag, 7-35
JmlBoolean extended datatype, 5-3
JmlFPNumber extended datatype, 5-5
JmlNumber extended datatype, 5-4
JmlString extended datatype, 5-6
JNDI in Oracle Servlet Engine, 4-32
JServer JVM, 4-29
jsp fallback tag (with plugin tag), 1-22
jsp forward tag, 1-21
jsp getProperty tag, 1-19
jsp include tag, 1-20
JSP Markup Language--see JML
jsp param tag, 1-19
jsp plugin tag, 1-22
jsp setProperty tag, 1-18
JSP translator--see translator
jsp useBean tag
sample application, 9-3
syntax, 1-18
JspPage interface, B-12
JspScopeEvent class, event handling, 5-32
JspScopeListener
sample application, 9-32
usage for event handling, 5-32
jspService() method, B-12
JSP-servlet interaction
invoking JSP from servlet, request dispatcher, 3-8
invoking servlet from JSP, 3-7
passing data, JSP to servlet, 3-8
passing data, servlet to JSP, 3-9
sample code, 3-10
JSWDK
classpath configuration, A-9
config, map file name extensions, A-12
setting configuration parameters, A-26
support for OracleJSP, 2-12

L

loadjava tool (load to Oracle8i)
complete option syntax, 6-37
loading translated pages, 6-58
loading translated pages as class files, 6-59
loading translated pages as source files, 6-61
loading untranslated pages, 6-41
overview, 6-36
lock tag, compile-time JML, C-13

M

mapping JSP file name extensions, A-11
member variable declarations, 4-14
method variable declarations, 4-14
multibyte parameter encoding, NLS, 8-5

N

National Language Support--see NLS
NLS support
content type settings (dynamic), 8-4
content type settings (static), 8-2
multibyte parameter encoding, 8-5
overview, 8-1
sample depending on translate_params, 8-7
sample not depending on translate_params, 8-9
noCompile, ojspc option, 6-31

O

objects and scopes (JSP objects), 1-14
ojspc pre-translation tool
command-line syntax, 6-27
enabling hotloading, 6-56
examples, 6-57
for SQLJSP pages, 6-55
key features and options, 6-56
option descriptions, 6-27
option summary table, 6-25
output files, locations, related options, 6-34
overview, 6-23
overview of functionality, 6-24
pre-translating for deployment to Oracle8i, 6-54
simplest usage, 6-55
use for non-OSE environments, 6-68
ojsp.jar, required file, A-4
ojsputil.jar, optional file, A-4
on-demand translation (runtime), 1-7, 2-21
optimization
not checking for retranslation, 4-20
not using HTTP session, 4-21
unbuffering a JSP page, 4-20
Oracle Application Server, OracleJSP support, 2-10
Oracle HTTP Server
advantages in using, 2-9
role with OracleJSP, 2-6
with mod_jserv, 2-8
with mod_ose, 2-7
Oracle platforms supporting OracleJSP
Internet Application Server, 2-5
JDeveloper, 2-23
Oracle Application Server, 2-10
summary of releases, 2-19
Web-to-go, 2-10
Oracle Servlet Engine
advantages in using, 2-9
calling EJBs from JSPs in OSE, 4-4
config parameters, equivalent code, 4-33
configuration overview, A-27
doc root, vs. iAS, 6-67
JSP integration with PL/SQL Pages, 2-17
OSE JSP container, 2-22
overview, 2-4
overview of pre-translation model, 2-22
overview of special considerations, 4-28
server-side JDBC connection, 4-29
static files, 6-17
URLs, 6-15
use of JNDI, 4-32
virtual paths, 6-15
OracleJSP translator--see translator
otherwise tag, JML, 7-35
out object (implicit), 1-17
output files
generated by translator, 6-6
locations, 6-7
locations and related options, ojspc, 6-34
ojspc d option (binary location), 6-29
ojspc srcdir option (source location), 6-33
page_repository_root config param, A-22

P

package naming
by translator, 6-4
ojspc packageName option, 6-32
publishjsp packageName option, 6-44
packageName, ojspc option, 6-32
packageName, publishjsp option, 6-44
page directive
characteristics, 4-15
contentType setting for NLS, 8-2
overview, 1-10
page events (JspScopeListener), 5-32
page implementation class
generated code, 6-2
overview, 1-7
sample code, 6-8
page object (implicit), 1-16
page reloading, dynamic, 4-26
page retranslation, dynamic, 4-25
page scope (JSP objects), 1-15
page_repository_root config param, A-22
pageContext object (implicit), 1-16
page-relative path, 1-9
param tag, 1-19
PL/SQL Server Pages, use with OracleJSP, 2-17
plugin tag, 1-22
plugin tag, compile-time JML, C-15
portability of OracleJSP, 2-2
prefetching rows--see row prefetching
pre-translation
client-side (for OSE), 6-54
for OSE (overview), 2-22
server-side (for OSE), 6-42
without execution, general, 6-69
pre-translation for deployment to Oracle8i, 6-54
pre-translation tool, ojspc, 6-23
print tag, JML, C-15
properties, publishservlet option, 6-65
PSP pages, use with OracleJSP, 2-17
publishjsp command
examples, 6-47
overview, 6-42
publishing SQLJSP pages, 6-51
syntax and options, 6-43
publishservlet command
example, 6-65
overview, 6-63
syntax and options, 6-63

R

release number, OracleJSP, code to display, 2-20
reloading classes, dynamic, 4-26
reloading page, dynamic, 4-26
remove tag, JML, 7-33
request dispatcher (JSP-servlet interaction), 3-8
request events (JspScopeListener), 5-32
request object (implicit), 1-16
request objects, servlets, B-9
request scope (JSP objects), 1-15
RequestDispatcher interface, 3-8
requesting a JSP page, 1-8
requirements
summary of required files, A-4
system requirements for OracleJSP, A-2
resolver, publishjsp option, 6-46
resource management
application (JspScopeListener), 5-32
overview of OracleJSP extensions, 3-17
page (JspScopeListener), 5-32
request (JspScopeListener), 5-32
session (JspScopeListener), 5-32
standard session management, 3-12
response object (implicit), 1-16
response objects, servlets, B-9
retranslation of page, dynamic, 4-25
return tag, JML, 7-38
reuse, publishservlet option, 6-65
row prefetching
overview, 4-8
through OracleJSP ConnBean, 5-15
rowset caching, 4-8
runtime considerations
dynamic class reloading, 4-26
dynamic page reloading, 4-26
dynamic page retranslation, 4-25
runtimeXX.zip, required file for SQLJ, A-5

S

S, ojspc option (for SQLJ options), 6-32
sample applications
basic samples, 9-2
ConnBean sample, 9-23
ConnCacheBean sample, 9-26
connection caching pages, 9-16
CursorBean sample, 9-24
custom tag definition and use, 7-15
database access, starter sample, 3-21
database-access JavaBean samples, 9-21
DBBean sample, 9-21
globals.jsa samples, 9-41
globals.jsa, application and session events, 9-44
globals.jsa, application events, 9-41
globals.jsa, global declarations, 9-47
hello page, 9-2
HttpSessionBindingListener sample, 3-13
JDBC samples, 9-10
JML datatypes example, 5-7
JML tag sample, 9-29
JspScopeListener, event handling, 9-32
JSP-servlet interaction, 3-10
NLS, depending on translate_params, 8-7
NLS, not depending on translate_params, 8-9
page implementation class code, 6-8
query bean, 9-13
query page (simple), 9-10
shopping cart page, 9-4
SQL tag examples, 5-28
SQLJ example, 5-33
SQLJ queries, 9-37
useBean page, 9-3
user-specified query page, 9-12
XML query output, 9-36
schema objects
for Java, 6-12
full names and short names, 6-13
loading Java files to create, 6-12
package determination, 6-13
publishing, 6-14
schema, publishjsp option, 6-44
scopes (JSP objects), 1-15
scripting elements
comments, 1-14
declarations, 1-12
expressions, 1-12
overview, 1-12
scriptlets, 1-13
scripting variables (tag libraries)
defining, 7-8
scopes, 7-9
scriptlets
overview, 1-13
vs. JavaBeans, 4-2
server-side JDBC driver, 4-29
server-side translation, Oracle8i deployment
loading untranslated pages into Oracle8i, 6-41
overview, 6-41
translating and publishing, publishjsp, 6-42
vs. client-side translation, 6-19
service method, JSP, B-12
servlet 2.0 environments
added support through globals.jsa, 5-37
globals.jsa sample applications, 9-41
OracleJSP application root functionality, 3-5
overview of OracleJSP functionality, 2-2
servlet containers, B-3
servlet contexts
overview, B-6
servlet context objects, B-10
servlet library, A-4
servlet path, URLs, 6-15
servlet sessions
HttpSession interface, B-4
session tracking, B-6
servlet.jar
required file, A-4
versions, A-5
servlet-JSP interaction
invoking JSP from servlet, request dispatcher, 3-8
invoking servlet from JSP, 3-7
passing data, JSP to servlet, 3-8
passing data, servlet to JSP, 3-9
sample code, 3-10
servletName, publishjsp option, 6-44
servletName, publishservlet option, 6-64
servlets
application lifecycle management, B-7
request and response objects, B-9
review of servlet technology, B-2
servlet configuration objects, B-11
servlet containers, B-3
servlet context objects, B-10
servlet contexts, B-6
servlet interface, B-3
servlet invocation, B-8
servlet objects, B-9
servlet sessions, B-4
session objects, B-10
session sharing, JSP, Apache/JServ, 4-37
technical background, B-2
wrapping servlet with JSP page, 4-35
sess_sh--see session shell
session events
with globals.jsa, 5-44
with HttpSessionBindingListener, 3-12
with JspScopeListener, 5-32
session object (implicit), 1-16
session objects, servlets, B-10
session scope (JSP objects), 1-15
session sharing
overview, JSP-servlet, Apache/JServ, 4-37
session_sharing config param, A-23
session shell tool
createcontext command, 6-15
java command, 6-62
key commands, 6-39
key syntax elements, 6-38
overview, 6-38
publishjsp command, 6-42
publishservlet command, 6-63
unpublishjsp command, 6-53
unpublishservlet command, 6-66
session support
default session requests, 3-6
overview, 3-6
through globals.jsa, 5-38
session tracking, B-6
session_OnEnd tag, globals.jsa, 5-45
session_OnStart tag, globals.jsa, 5-44
session_sharing config param, A-23
set tag, compile-time JML, C-11
setContentType() method, NLS, 8-4
setProperty tag, 1-18
setProperty tag, compile-time JML, C-10
short names, schema objects, 6-13
showVersion, publishjsp option, 6-44
source file location, ojspc srcdir option, 6-33
SQL tags
examples, 5-28
overview, tag list, 5-24
requirements, 5-24
SQLJ
JSP code example, 5-33
ojspc S option for SQLJ options, 6-32
OracleJSP support, 5-33
publishing SQLJSP pages with publishjsp, 6-51
required files for use in JSP, A-5
sample applications, 9-37
server-side SQLJ options, 6-51
setting Oracle SQLJ options, 5-36
sqljcmd config param, A-23
sqljsp files, 5-36
triggering SQLJ translator, 5-36
sqljcmd config param, A-23
sqljsp files for SQLJ, 5-36
srcdir, ojspc option, 6-33
SSL sessions, B-6
stateless, publishjsp option, 6-46
stateless, publishservlet option, 6-65
statement caching
overview, 4-6
through OracleJSP ConnBean, 5-14
through OracleJSP ConnCacheBean, 5-17
static files, Oracle Servlet Engine, 6-17
static include
directive, 1-11
logistics, 4-9
vs. dynamic include, 4-9
static text
external resource file, 4-13
external resource, ojspc extres option, 6-30
external_resource parameter, A-21
generated inner class, 6-3
workaround for large static content, 4-13
styleSheet tag, JML, 5-10
Sun Microsystems JSWDK--see JSWDK
syntax (overview), 1-10
system requirements for OracleJSP, A-2

T

tag handlers (tag libraries)
access to outer tag handlers, 7-10
overview, 7-4
sample tag handler class, 7-15
tags with bodies, 7-6
tags without bodies, 7-6
tag libraries
defining and using, end-to-end example, 7-15
Oracle JML tag descriptions, 7-30
Oracle JML tags, overview, 7-20
Oracle SQL tags, 5-24
overview, 1-23
overview of standard implementation, 7-2
runtime vs. compile-time implementations, C-2
scripting variables, 7-7
standard framework, 7-2
strategy, when to create, 4-11
tag handlers, 7-4
tag library description files, 7-10
tag-extra-info classes, 7-7
taglib directive, 7-13
web.xml use, 7-12
tag library description files
defining shortcut URI in web.xml, 7-12
for Oracle JML tags, 7-22
for Oracle SQL tags, 5-24
general features, 7-10
sample file, 7-18
tag-extra-info classes (tag libraries)
general use, getVariableInfo() method, 7-9
sample tag-extra-info class, 7-17
taglib directive
compile-time JML, C-3
for Oracle JML tags, 7-22
for Oracle SQL tags, 5-24
general use, 7-13
syntax, 1-11
use of full TLD name and location, 7-14
use of shortcut URI, 7-14
tips
avoid JSP use with binary data, 4-19
JavaBeans vs. scriptlets, 4-2
JSP page as servlet wrapper, 4-35
JSP preservation of white space, 4-16
key configuration issues, 4-20
method vs. member variable declaration, 4-14
page directive characteristics, 4-15
static vs. dynamic includes, 4-9
using a "checker" page, 4-12
when to create tag libraries, 4-11
workaround, large static content, 4-13
TLD file--see tag library description file
Tomcat
classpath configuration, A-10
config, map file name extensions, A-12
setting configuration parameters, A-26
support for OracleJSP, 2-12
tools
for deployment to Oracle8i, 6-23
ojspc for client-side translation, 6-23
overview of loadjava (load to Oracle8i), 6-36
overview of session shell, 6-38
transform tag, JML, 5-10
translate_params config param
code equivalent, 8-6
effect in overriding non-multibyte servlet containers, 8-5
general information, A-24
NLS sample depending on it, 8-7
NLS sample not depending on it, 8-9
overview, multibyte parameter encoding, 8-5
translation
client-side pre-translation (for OSE), 6-54
on-demand (runtime), 1-7
server-side pre-translation (for OSE), 6-42
server-side vs. client-side (for OSE), 6-19
translator
generated class names, 6-5
generated code features, 6-2
generated files, 6-6
generated inner class, static text, 6-3
generated package names, 6-4
output file locations, 6-7
sample generated code, 6-8
translator.zip, required file for SQLJ, A-5

U

unpublishjsp command, 6-53
unpublishservlet command, 6-66
unsafe_reload config param, A-24
update batching
overview, 4-7
through OracleJSP ConnBean, 5-14
URLs
context path, 6-15
for Oracle Servlet Engine, 6-15
servlet path, 6-15
URL rewriting, B-6
usage, publishjsp option, 6-44
useBean tag
sample application, 9-3
syntax, 1-18
useBean tag, compile-time JML, C-9
useCookie tag, JML, 7-32
useForm tag, JML, 7-31
useVariable tag, JML, 7-30

V

verbose, ojspc option, 6-34
verbose, publishjsp option, 6-46
version number, OracleJSP, code to display, 2-20
version, ojspc option, 6-34
virtual path (in OSE URLs), 6-15
virtualpath, publishjsp option, 6-44
virtualpath, publishservlet option, 6-64

W

WAR deployment, 6-70
Web application hierarchy, B-9
Web-to-go, OracleJSP support, 2-10
web.xml, usage for tag libraries, 7-12
when tag, JML, 7-35
wrapping servlet with JSP page, 4-35

X

xmlparserv2.jar, required file, A-4
XML/XSL support
JML tags for XSL stylesheets, 5-10
overview, 5-9
sample application, 9-36
XML-alternative syntax, 5-9
XSL transformation example, 5-11
xsu12.jar or xsu111.jar, optional file, A-4

Go to previous page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents