Index
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Symbols
- _jspService() method, A-12
A
- action tags
- forward tag, 1-21
- getProperty tag, 1-19
- in JSP XML pages, 5-10
- include tag, 1-20
- overview of standard actions, 1-16
- param tag, 1-19
- plugin tag, 1-22
- setProperty tag, 1-18
- useBean tag, 1-17
- activation.jar, Java activation files for e-mail, 3-12
- addclasspath, ojspc option, 7-21
- alias translation, JServ
- alias_translation config param, B-9
- overview, B-21
- Apache JServ--see JServ
- application events
- servlet application lifecycles, A-7
- with globals.jsa, B-37
- application framework for JServ, B-18
- application hierarchy, A-9
- application object (implicit), 1-14
- application root functionality, 3-2
- application scope (JSP objects), 1-15
- Application Server Control
- introduction, 3-34
- JSP Properties Page, 3-34
- supported JSP parameters, 3-35
- unsupported JSP parameters, 3-37
- application support
- servlet application lifecycles, A-7
- through globals.jsa, B-33
- application_OnEnd tag, globals.jsa, B-38
- application_OnStart tag, globals.jsa, B-37
- application-relative path, 1-29
- application.xml, OC4J configuration file, 3-32
- appRoot, ojspc option, 7-21
- autoreload-jsp-pages, autoreload-jsp-beans (not supported), 3-30
B
- batch pretranslation
- ojspc -batchMask option, 7-22
- ojspc -deleteSource option, 7-24
- ojspc -output option, 7-28
- overview of ojspc batch features, 7-15
- batch updates--see update batching
- batchMask, ojspc option, 7-22
- binary data, reasons to avoid in JSP, 6-16
- binary file deployment, 7-42
- binary file location, ojspc d option, 7-24
- bypass_source config param (JServ), B-10
C
- cache.jar, for Java Object Cache, 3-12
- caching support, overview, 2-17
- call servlet from JSP, JSP from servlet, 4-2
- check_page_scope config param, 3-18
- checker pages, 6-7
- class naming, translator, 7-5
- classesXX.zip, for JDBC, 3-12
- classpath
- classpath config param (JServ), B-10
- JSP classpath functionality, 3-3
- classpath configuration (JServ), B-2
- code, generated by translator, 7-2
- comments (in JSP code), 1-12
- compilation
- default settings, related options, 3-5
- in-process vs. out-of-process, 3-5
- javaccmd config param, 3-20
- ojspc noCompile option, 7-27
- use_old_compiler config param, 3-25
- config object (implicit), 1-14
- configuration
- JSP configuration in Enterprise Manager, 3-34
- JSP configuration parameters, 3-14
- JSP configuration parameters for JServ, B-4
- JSP container setup, 3-13
- JSP-related OC4J configuration parameters, 3-28
- key JAR and ZIP files, 3-12
- key OC4J configuration files, 3-32
- map file name extensions, JServ, B-3
- setting JSP configuration parameters, 3-27
- setting JSP-related OC4J configuration parameters, 3-30
- setting parameters, JServ, B-15
- connection caching, overview, 4-11
- containers
- JSP containers, 1-26
- servlet containers, A-3
- content type settings
- dynamic (setContentType method), 9-5
- static (page directive), 9-2
- context path, 3-2
- context-relative path, 1-29
- cookies, A-6
- custom tags--see tag libraries
D
- d, ojspc option (binary output dir), 7-24
- data-access features, 4-7
- data-sources.xml, OC4J configuration file, 3-32
- debug_mode config param, 3-18
- debugging
- debug, ojspc option, 7-23
- debug_mode config param, 3-18
- emit_debuginfo config param, 3-18
- through JDeveloper, 2-13
- declarations
- global declarations, globals.jsa, B-42
- member variables, 1-10
- method variable vs. member variable, 6-9
- XML declaration elements, 5-9
- default-web-site.xml, OC4J configuration file, 3-32
- deleteSource, ojspc option, 7-24
- demo location, OTN, 1-1
- deployment, general considerations
- deploying pages with JDeveloper, 7-38
- deployment of binary files only, 7-42
- general pretranslation without execution, 7-42
- ojspc for batch pretranslation, 7-41
- ojspc for page pretranslation, 7-40
- overview, 7-36
- WAR deployment, 7-36
- developer_mode config param (JServ), B-11
- directives
- forgive_dup_dir_attr config param, 3-20
- global directives, globals.jsa, B-41
- include directive, 1-8
- ojspc forgiveDupDirAttr option, 7-26
- overview, 1-7
- page directive, 1-8
- taglib directive, 1-9
- XML directive elements, 5-8
- directory alias translation--see alias translation
- DMS support, 2-16
- dynamic forward, special support for JServ, B-19
- dynamic include
- action tag, 1-20
- for large static content, 6-8
- logistics, 6-3
- special support for JServ, B-19
- vs. static include, 6-2
- Dynamic Monitoring Service--see DMS
E
- EAR file, 3-32, 7-36
- EJBs
- calling from JSP pages, 4-14
- use of OC4J EJB tag library, 4-15
- emit_debuginfo config param, 3-18
- empty actions (tag libraries), 8-32
- enable-jsp-dispatcher-shortcuts flag, 3-29
- Enterprise Manager
- JSP Properties Page, 3-34
- supported JSP parameters, 3-35
- unsupported JSP parameters, 3-37
- error processing (runtime), 4-27
- event-handling
- servlet application lifecycles, A-7
- with globals.jsa, B-37
- with HttpSessionBindingListener, 4-21
- exception object (implicit), 1-14
- execution models for JSP pages, 1-26
- execution of a JSP page, 1-26
- explicit JSP objects, 1-12
- expressions
- expression syntax, 1-10
- XML expression elements, 5-9
- extend, ojspc option, 7-25
- extensions
- DMS support, 2-16
- overview of caching support, 2-17
- overview of global includes, 2-16
- overview of Oracle-specific extensions, 2-15
- overview of programmatic extensions, 2-14
- overview of SQLJ support, 2-15
- summary of portable extensions, 2-14
- external resource file
- for static text, 6-8
- through external_resource parameter, 3-19
- through ojspc extres option, 7-26
- external_resource config param, 3-19
- external_resource_timeout config param (JServ), B-12
- extra_imports config param, 3-19
- extraImports, ojspc option, 7-25
- extres, ojspc option, 7-26
F
- fallback tag (with plugin tag), 1-22
- Feiner, Amy (welcome), 1-3
- file naming conventions, JSP files, 3-10
- files
- generated by translator, 7-6
- key JAR and ZIP files, 3-12
- locations, ojspc d option, 7-24
- locations, ojspc srcdir option, 7-31
- locations, translator output, 7-7
- forgive_dup_dir_attr config param, 3-20
- forgiveDupDirAttr, ojspc option, 7-26
- forward tag, 1-21
G
- generated code, by translator, 7-2
- generated output names, by translator, 7-3
- getProperty tag, 1-19
- global includes (Oracle extension)
- general use, 7-9
- use in migrating from translate_params, B-31
- globalization support
- charset settings of JSP writer, 9-7
- content type settings (dynamic), 9-5
- content type settings (static), 9-2
- multibyte parameter encoding, 9-8
- overview, 9-1
- sample depending on translate_params, B-27
- sample not depending on translate_params, B-29
- globals.jsa
- application and session lifecycles, B-34
- application deployment, B-33
- application events, B-37
- distinct applications and sessions, B-33
- event-handling, B-37
- example, declarations and directives, B-43
- extended support for servlet 2.0, B-32
- file contents, structure, B-43
- global declarations, B-42
- global JavaBeans, B-42
- global JSP directives, B-41
- migration from, B-44
- overview of functionality, B-32
- overview of syntax and semantics, B-34
- session events, B-39
- global-web-application.xml, OC4J configuration file, 3-32
H
- help, ojspc option, 7-27
- hiding JSP pages (e.g., MVC architecture), 6-6
- HttpJspPage interface, A-12
- HttpSession interface, A-4
- HttpSessionBindingListener, 4-21
I
- id attribute (XML view), 5-16
- implement, ojspc option, 7-27
- implicit JSP objects
- overview, 1-13
- using implicit objects, 1-15
- imports, default packages, 3-9
- include directive, 1-8
- include tag, 1-20
- interaction, JSP-servlet, 4-2
- invoke servlet from JSP, JSP from servlet, 4-2
J
- JavaBeans
- global JavaBeans, globals.jsa, B-42
- use for separation of business logic, 1-5
- use with useBean tag, 1-17
- vs. scriptlets, 6-2
- javaccmd config param, 3-20
- JDBC in JSP pages
- performance enhancements, 4-10
- sample of use, 4-7
- JDeveloper
- JSP support, 2-13
- use for deploying JSP pages, 7-38
- JDK 1.4 considerations, 3-10
- jndi.jar, for data sources and EJBs, 3-12
- JServ
- alias translation, B-21
- classpath configuration, B-2
- config, map file name extensions, B-3
- configuration parameters, B-4
- error processing, send_error config param, B-13
- JSP application framework, B-18
- JSP dynamic include support, B-19
- mod_jserv module, B-17
- overview of JSP-servlet session sharing, B-19
- overview of special considerations, B-17
- session sharing, session_sharing config param, B-13
- setting configuration parameters, B-15
- use of ojspc for JServ, B-16
- use with Oracle Application Server, B-1
- jsp fallback tag (with plugin tag), 1-22
- jsp forward tag, 1-21
- jsp getProperty tag, 1-19
- jsp id attribute (XML view), 5-16
- jsp include tag, 1-20
- jsp param tag, 1-19
- jsp plugin tag, 1-22
- jsp root element (XML syntax), 5-7
- jsp setProperty tag, 1-18
- jsp text element (XML syntax), 5-11
- JSP translator--see translator
- jsp useBean tag
- syntax, 1-17
- JSP XML document, 5-2
- JSP XML syntax--see XML syntax
- JSP XML view--see XML view
- jsp-cache-directory setting, 3-28, 7-7
- jsp-cache-tlds flag, 3-28, 8-22
- JspPage interface, A-12
- jsp-print-null flag, 3-28
- jspService() method, A-12
- JSP-servlet interaction
- invoking JSP from servlet, request dispatcher, 4-3
- invoking servlet from JSP, 4-2
- passing data, JSP to servlet, 4-3
- passing data, servlet to JSP, 4-4
- sample code, 4-5
- jsp-taglib-locations setting, 3-29, 8-23
- jsp-timeout flag, 3-28
- JspWriter object, 1-14
- JSTL, overview of support, 2-17
- jta.jar, for Java Transaction API, 3-12
L
- listeners, tag libraries, 8-55
M
- mail.jar, for e-mail from applications, 3-12
- member variable declarations, 6-9
- method variable declarations, 6-9
- migration
- from globals.jsa, B-44
- from translate_params, B-31
- Model-View-Controller, hiding JSP pages, 6-6
- mods, Apache, 2-3
- multibyte parameter encoding
- general/standard, 9-8
- JServ environment, B-24
- MVC architecture, hiding JSP pages, 6-6
N
- namespaces (XML syntax), 5-7
- naming conventions, JSP files, 3-10
- National Language Support--see Globalization Support
- NLS--see Globalization Support
- no_tld_xml_validate config param, 3-21
- noCompile, ojspc option, 7-27
- non-empty actions (tag libraries), 8-32
- noTldXmlValidate, ojspc option, 7-28
- null data, print mode, 3-28
O
- objects and scopes (JSP objects), 1-12
- OC4J
- general overview, 2-4
- overview of JSP implementation, 2-8
- standalone, 2-7
- ojspc pretranslation tool
- command-line syntax, 7-20
- option descriptions, 7-21
- option summary table, 7-17
- output files, locations, related options, 7-34
- overview, 7-13
- overview of basic functionality, 7-13
- overview of batch pretranslation, 7-15
- use for batch pretranslation, 7-41
- use for JServ, B-16
- use for page pretranslation, 7-40
- ojsp.jar, for JSP container, 3-12
- ojsputil.jar, for JSP tag libraries and utilities, 3-12
- old_include_from_top config param, 3-22
- oldIncludeFromTop, ojspc option, 7-28
- on-demand translation (runtime), 1-27
- optimization--see performance
- Oracle Application Server
- brief overview, 2-2
- JSP support, 2-2
- use of JServ, B-1
- Oracle Enterprise Manager--see Enterprise Manager
- Oracle HTTP Server
- overview, use of Apache mods, 2-3
- with mod_jserv, B-17
- Oracle platforms supporting JSP
- JDeveloper, 2-13
- Oracle Application Server, 2-2
- out object (implicit), 1-14
- output files
- generated by translator, 7-6
- locations, 7-7
- locations and related options, ojspc, 7-34
- ojspc d option (binary location), 7-24
- ojspc srcdir option (source location), 7-31
- output names, conventions, 7-3
- output, ojspc option, 7-28
P
- package imports, default, 3-9
- package naming
- by translator, 7-5
- ojspc packageName option, 7-29
- packageName, ojspc option, 7-29
- page directive
- characteristics, 6-11
- contentType setting for globalization support, 9-2
- overview, 1-8
- page implementation class
- generated code, 7-2
- overview, 1-28
- page object (implicit), 1-13
- page scope (JSP objects), 1-15
- pageContext object (implicit), 1-13
- page-relative path, 1-29
- param tag, 1-19
- parent property (tag handlers), 8-34
- performance
- configuration considerations, 3-8
- OC4J and Oracle Application Server features, 3-9
- programmatic considerations, 3-7
- use of pretranslation, 3-8
- persistent caching for TLD files, 8-21
- plugin tag, 1-22
- precompile_check config param, 3-22
- prefetching rows--see row prefetching
- pretranslation
- ojspc utility, 7-13
- without execution, general, 7-42
- print null flag, 3-28
- programming considerations
- additional tips, 6-6
- general strategies, 6-2
R
- reduce_tag_code config param, 3-22
- reduceTagCode, ojspc option, 7-29
- req_time_introspection config param, 3-23
- reqTimeIntrospection, ojspc option, 7-29
- request dispatcher (JSP-servlet interaction), 4-3
- request objects
- JSP implicit request object, 1-13
- overview, A-9
- request scope (JSP objects), 1-15
- RequestDispatcher interface, 4-3
- requesting a JSP page, 1-28
- resource management
- overview of JSP extensions, 4-26
- standard session management, 4-21
- response objects
- JSP implicit response object, 1-13
- overview, A-9
- retranslation or reloading at runtime, 3-4
- root element (XML syntax), 5-7
- row prefetching, 4-13
- rowset caching, 4-13
- runtimeXX.zip, for SQLJ, 3-12
S
- S, ojspc option (for SQLJ options), 7-30
- sample applications
- custom tag definition and use, 8-62
- demo location, OTN, 1-1
- globalization, depending on translate_params, B-27
- globalization, not depending on translate_params, B-29
- HttpSessionBindingListener sample, 4-22
- IterationTag definition and use, 8-58
- JSP-servlet interaction, 4-5
- SQLJ example, 4-16
- traditional vs. XML syntax, 5-12
- transformation to XML view, 5-17
- scopes (JSP objects), 1-15
- scripting elements
- comments, 1-12
- declarations, 1-10
- expressions, 1-10
- overview, 1-9
- scriptlets, 1-10
- scripting variables (tag libraries)
- declaration through TEI class, 8-48
- declaration through TLD, 8-46
- scopes, 8-46
- using, 8-45
- scriptlets
- scriptlet syntax, 1-10
- vs. JavaBeans, 6-2
- XML scriptlet elements, 5-9
- security
- considerations in JServ, B-24
- general considerations, 3-6
- send_error config param (JServ), B-13
- server.xml, OC4J configuration file, 3-32
- service method, JSP, A-12
- servlet 2.0 environments
- added support through globals.jsa, B-32
- JSP container features for application root functionality, B-18
- servlet containers, A-3
- servlet contexts
- overview, A-6
- servlet context objects, A-10
- servlet path, 3-2
- servlet sessions
- HttpSession interface, A-4
- session tracking, A-6
- servlet-JSP interaction
- invoking JSP from servlet, request dispatcher, 4-3
- invoking servlet from JSP, 4-2
- passing data, JSP to servlet, 4-3
- passing data, servlet to JSP, 4-4
- sample code, 4-5
- servlets
- application lifecycle management, A-7
- request and response objects, A-9
- review of servlet technology, A-2
- servlet configuration objects, A-11
- servlet containers, A-3
- servlet context objects, A-10
- servlet contexts, A-6
- servlet interface, A-3
- servlet invocation, A-8
- servlet objects, A-9
- servlet sessions, A-4
- session objects, A-10
- session sharing, JSP, JServ, B-19
- technical background, A-2
- wrapping servlet with JSP page, B-20
- session events
- with globals.jsa, B-39
- with HttpSessionBindingListener, 4-21
- session objects
- JSP implicit session object, 1-14
- overview, A-10
- session scope (JSP objects), 1-15
- session sharing, overview, JSP-servlet, JServ, B-19
- session support through globals.jsa (JServ), B-33
- session tracking, A-6
- session_OnEnd tag, globals.jsa, B-40
- session_OnStart tag, globals.jsa, B-39
- session_sharing config param (JServ), B-13
- setCharacterEncoding() method, 9-8
- setContentType() method, globalization support, 9-5
- setProperty tag, 1-18
- setproperty_onerr_continue config param, 3-23
- setReqCharacterEncoding() method, multibyte parameter encoding (JServ), B-24
- setWriterEncoding() method, globalization support, 9-7
- shortcut URI (tag librarires), 8-21
- simple tag handlers (tag libraries)
- with body iteration, 8-35
- without body iteration, 8-34
- simple-jsp-mapping flag, 3-29
- source file location, ojspc srcdir option, 7-31
- SQLJ
- JSP code example, 4-16
- JSP support for, 4-16
- ojspc S option for SQLJ options, 7-30
- setting Oracle SQLJ options, 4-19
- sqljcmd config param, 3-24
- sqljsp files, 4-19
- triggering SQLJ translator, 4-19
- sqljcmd config param, 3-24
- sqljsp files for SQLJ, 4-19
- srcdir, ojspc option, 7-31
- standalone version of OC4J, 2-7
- statement caching, 4-12
- static include
- directive, 1-8
- logistics, 6-3
- vs. dynamic include, 6-2
- static text
- external resource file, 6-8
- external resource, ojspc extres option, 7-26
- external_resource parameter, 3-19
- in member variables, 7-3
- workaround for large static content, 6-8
- static_text_in_chars config param, 3-24
- staticTextInChars, ojspc option, 7-32
- syntax (overview), 1-7
T
- tag handlers (tag libraries)
- access to outer tag handlers, 8-41
- accessing body content, 8-37
- body processing, 8-31
- changes between JSP 1.1 and 1.2, 8-7
- constants for body processing, 8-33
- empty actions, 8-32
- non-empty actions, 8-32
- OC4J tag handler code generation, 8-44
- OC4J tag handler instance reuse / pooling, 8-42
- overview, 8-29
- sample tag handler classes, 8-59, 8-63
- simple tag handlers, with body iteration, 8-35
- simple tag handlers, without body iteration, 8-34
- tag libraries
- defining and using, end-to-end example, 8-62
- IterationTag, end-to-end example, 8-58
- multiple tag libraries in a JAR file, 8-18
- namespaces, XML support, 5-7
- overview of functionality, 1-24
- overview of standard implementation, 8-2
- persistent caching for TLD files, 8-21
- runtime vs. compile-time implementations, 8-67
- scripting variables, 8-45
- sharing across applications, 8-21
- single tag library in a JAR file, 8-17
- standard framework, 8-2
- strategy, when to create, 6-4
- tag handlers, 8-29
- tag library descriptor files, 8-8
- tag library listeners, 8-55
- tag library namespaces (XML syntax), 5-7
- taglib directive, 8-16
- tag-library-validator classes, 8-51
- web.xml use, 8-20
- well-known location, 8-21
- tag library descriptor files
- changes between JSP 1.1 and 1.2, 8-5
- defining shortcut URI in web.xml, 8-21
- listener element and subelements, 8-15
- overview of functionality, 8-8
- persistent caching, 8-21
- sample files, 8-60, 8-66
- specifying individual TLD, 8-17
- specifying single TLD in a JAR file, 8-17
- specifying TLDs for multiple tag libraries in a JAR file, 8-18
- tag element and subelements, 8-10
- taglib directive, 8-16
- TLD validation config param, 3-21
- TLD validation ojspc option, 7-28
- validator element and subelements, 8-15
- tag-extra-info classes (tag libraries)
- general use, getVariableInfo() method, 8-48
- sample tag-extra-info class, 8-64
- taglib directive
- general use, 8-16
- syntax, 1-9
- tag-library-validator classes, 8-51
- tagReuse, ojspc option, 7-32
- tags_reuse_default config param, 3-25
- template data, 5-3
- text element (XML syntax), 5-11
- timeout settings
- for JServ, B-12
- for OC4J, 3-28
- tips
- avoid JSP use with binary data, 6-16
- JavaBeans vs. scriptlets, 6-2
- JSP page as servlet wrapper, B-20
- JSP preservation of white space, 6-14
- method vs. member variable declaration, 6-9
- page directive characteristics, 6-11
- static vs. dynamic includes, 6-2
- using a "checker" page, 6-7
- when to create tag libraries, 6-4
- workaround, large static content, 6-8
- TLD file--see tag library descriptor file
- translate_params config param (JServ)
- code equivalent, B-26
- effect in overriding non-multibyte servlet containers, B-26
- general information, B-14, B-25
- globalization sample depending on it, B-27
- globalization sample not depending on it, B-29
- migration from, B-31
- translation, on-demand (runtime), 1-27
- translator
- generated class names, 7-5
- generated code features, 7-2
- generated files, 7-6
- generated member variables, static text, 7-3
- generated names, general conventions, 7-3
- generated package names, 7-5
- Oracle JSP global includes, 7-9
- output file locations, 7-7
- translator.zip, for SQLJ, 3-12
U
- unsafe_reload config param (JServ), B-14
- update batching, 4-12
- URL rewriting, A-6
- use_old_compiler config param, 3-25
- useBean tag, 1-17
V
- validation, tag libraries, 8-51
- variable element (tag libraries), 8-46
- verbose, ojspc option, 7-33
- version, ojspc option, 7-33
W
- WAR deployment, 7-36
- WAR file, 3-32, 7-36
- Web application hierarchy, A-9
- web.xml, usage for tag libraries, 8-20
- well-known location (tag libraries), 8-21
- wrapping servlet with JSP page, B-20
X
- XML support
- JSP XML document, 5-2
- JSP XML documents and JSP XML view, overview, 5-2
- JSP XML syntax, 5-4
- XML validation config param, 3-26
- XML validation ojspc option, 7-33
- XML view, 5-15
- XML syntax
- custom action elements, 5-10
- declaration elements, 5-9
- directive elements, 5-8
- expression elements, 5-9
- root element and tag library namespaces, 5-7
- sample, traditional vs. XML syntax, 5-12
- scriptlet elements, 5-9
- standard action elements, 5-10
- summary table of JSP XML syntax, 5-5
- text element and other elements, 5-11
- XML view
- jsp id attribute for validation, 5-16
- sample transformation, 5-17
- transformation from JSP page to XML view, 5-15
- xml_validate config param, 3-26
- xmlparserv2.jar, for XML validation, 3-12
- xmlValidate, ojspc option, 7-33
- xsu12.jar or xsu111.jar, for XML, 3-12