HydraExpress Servlet Development Guide
Topic Index
Click on one of the letters below to jump immediately to that section of the index.
1 | 3 | 4 | A | B | C | D | E | F | G | H | I | J | L | M | N | P | R | S | T | U | V | W
12d
release build flag [in 9.4 Compiling Servlets]
[in 3.5 Compiling the Servlet]
[in 4.9.1 Defining the Filter Instance]
[in 4.8.1 Defining the Servlet Instance]
release build flag, and listeners [in 4.10 Define Listeners]
15d
debug build flag [in 4.8.1 Defining the Servlet Instance]
[in 4.9.1 Defining the Filter Instance]
[in 3.5 Compiling the Servlet]
[in 9.4 Compiling Servlets]
debug build flag, and listeners [in 4.10 Define Listeners]
3rd-party
3rd-party-licenses.txt file [in 1.3 Where to Find Additional Information]
applications shipped with HydraExpress [in 1.3 Where to Find Additional Information]
404 File Not Found
defining error page location [in 4.11 Configure Error Pages]
error-page handler [in 7.2 Understanding Request Routing]
Accept HTTP header [in 7.3 Inspecting HTTP Headers]
access, denying using a filter [in 2.4 Filters]
addCookie() method [in 7.6 Managing State on the Client with Cookies]
Agent
about [in 2.1 The Servlet Approach]
agent.log, default logging file [in 5.1 Introduction]
described as service execution engine [in 2.1 The Servlet Approach]
stopping and restarting [in 3.8 Stopping and Starting the Agent, and Executing the Servlet]
AIX, library name format [in C.2 Library Name Format]
AJP13 connector
example of request routing [in 7.2 Understanding Request Routing]
using Apache HTTP as front end [in 4.13 Forward Requests From a Web Server]
Apache HTTP server, configuring [in 4.13 Forward Requests From a Web Server]
appendPayload() method, on rwsf::HttpServletResponse [in 8.4.2 Setting the Response from a String]
apps directory
default deployment directory for Windows web services [in 5.2 Agent Starts, No Contexts Load]
apps-bin directory. See also => bin directory
deployment directory for Windows [in 4.5 Deploy the Compiled Object Files]
[in 9.5 Deploying Servlets]
[in 3.6 Installing the Compiled Object Files]
apps-lib directory
deployment directory for UNIX [in 3.6 Installing the Compiled Object Files]
[in 4.5 Deploy the Compiled Object Files]
ASCII characters
and URL patterns [in 4.4 URL Patterns]
attributes
in rwsf::Attribute [in 6.3 Using rwsf::Attribute]
initializing a listener with specific [in 6.6 Implementing a Listener]
Bad Request Response, HTTP status code [in 3.4 Implementing Request Handlers]
bin directory. See also => apps-bin directory
default Windows deployment location [in 9.5 Deploying Servlets]
deployment directory for Windows [in 3.6 Installing the Compiled Object Files]
breakpoints, and debugging [in 3.9 Debugging a Servlet]
C++
and web applications [in 2.2.2 Contexts]
servlets, base class rwsf::HttpServlet [in 3.1 Introduction]
using Java-like output functions [in 8.4.1 Using Java-Like Output Functions]
character sets, and web.xml file encoding [in 4.2.1 Character Set]
clients
and data in sessions [in 7.5 Recovering Session State]
managing state with cookies [in 7.6 Managing State on the Client with Cookies]
redirecting [in 8.7 Redirecting the Client]
sending multiple requests [in 8.2 Saving Session State]
compiler flags, and servlet compilation [in 3.5 Compiling the Servlet]
compiling
servlets, described [in 9.4 Compiling Servlets]
where to install compiled files [in 3.6 Installing the Compiled Object Files]
configuration
example file [in 4.2 Configuration File Example]
connectors
as message transport layer [in 2.2.1 Network Connection]
role in receiving requests [in 2.2 The Servlet Container and Web Applications]
container
servlet container hosted in HydraExpress [in 2.1 The Servlet Approach]
stopping and restarting [in 3.8 Stopping and Starting the Agent, and Executing the Servlet]
Content-Length header
and response [in 8.3 Creating HTTP Headers]
Content-Type header
and response [in 8.3 Creating HTTP Headers]
default [in 8.3 Creating HTTP Headers]
of HTTP response [in 5.5 Browser Displays HTML Code from Servlet]
setting [in 3.4 Implementing Request Handlers]
setting to HTML [in 5.5 Browser Displays HTML Code from Servlet]
setting to MIME [in 8.3 Creating HTTP Headers]
setting to text [in 8.4.2 Setting the Response from a String]
setting to texthtml type [in 9.3 Implementing the Servlet Class]
context parameters
reading [in 6.8 Reading Context Parameters]
setting [in 4.7 Set Context Parameters]
context-param element
defined [in B.3 Context web.xml]
in web.xml [in 4.7 Set Context Parameters]
[in 4.7 Set Context Parameters]
retrieving init params from [in 6.8 Reading Context Parameters]
contexts
about [in 2.2.2 Contexts]
activating [in 4.1.1 Procedure for Adding a Context]
and context parameters [in 6.8 Reading Context Parameters]
creating a directory for deployment [in 4.6 Create a Context Directory]
no context load, and troubleshooting [in 5.4 Context Does Not Load]
no contexts load error [in 5.2 Agent Starts, No Contexts Load]
procedure for adding [in 4.1.1 Procedure for Adding a Context]
returning the path to [in 8.5 Returning the URL of a Servlet]
typical directory structure [in 2.2.2 Contexts]
cookies
getting values [in 7.6 Managing State on the Client with Cookies]
in a session [in 7.5 Recovering Session State]
managing state with [in 7.6 Managing State on the Client with Cookies]
[in 7.6 Managing State on the Client with Cookies]
setting lifetime of [in 7.6 Managing State on the Client with Cookies]
specification RFC 2109 [in 7.6 Managing State on the Client with Cookies]
customizing
deployment directory, issues with [in 9.5.1 Changing the Default Deployment Directories]
of function names using DEFINE macro [in 6.4 Defining Filters, Servlets, and Listeners]
database connection
as assigned by listener [in 2.5 Listeners and Events]
through named objects [in 2.6 Named Objects]
date, of created session, printing [in 9.3 Implementing the Servlet Class]
dates
adding a date header to response [in 8.3 Creating HTTP Headers]
adding an int header to response [in 8.3 Creating HTTP Headers]
setting in header with an rwsf::DateTime [in 8.3 Creating HTTP Headers]
debug builds
15d flag [in 9.4 Compiling Servlets]
[in 9.4 Compiling Servlets]
[in 3.5 Compiling the Servlet]
[in 4.9.1 Defining the Filter Instance]
[in 4.8.1 Defining the Servlet Instance]
[in 3.5 Compiling the Servlet]
debugging
a servlet [in 3.9 Debugging a Servlet]
and log level debug [in 5.1 Introduction]
logging level, useful for troubleshooting [in 5.1 Introduction]
default mapping
in URL patterns [in 4.4.3 Default Servlet]
default servlet
about [in 4.4.3 Default Servlet]
and URL pattern mapping [in 4.4.3 Default Servlet]
default session timeout [in 4.12 Configure Sessions]
DELETE, HTTP method [in 3.4 Implementing Request Handlers]
deployment descriptor
defined [in 9.5 Deploying Servlets]
HelloWorldExample [in 3.7 Adding the Servlet to the web.xml file]
deployment directory
about [in 2.2.2 Contexts]
default [in 5.2 Agent Starts, No Contexts Load]
defined in web.xml [in 9.5.1 Changing the Default Deployment Directories]
deployment
and adding a context [in 4.1.1 Procedure for Adding a Context]
and troubleshooting error that contexts do not load [in 5.4 Context Does Not Load]
of compiled object files [in 4.5 Deploy the Compiled Object Files]
of servlets, described [in 9.5 Deploying Servlets]
of servlets, procedure [in 3.1 Introduction]
setting default deployment directory [in 5.2 Agent Starts, No Contexts Load]
destroy() method [in 3.4 Implementing Request Handlers]
and Servlet Specification [in 6.5 Implementing a Filter]
on servlet [in 3.1.1 Servlet Initialization and Destruction]
directory, deployment
about [in 2.2.2 Contexts]
doDelete() method [in 3.4 Implementing Request Handlers]
doFilter() method [in 6.5 Implementing a Filter]
[in 6.5 Implementing a Filter]
[in 6.5 Implementing a Filter]
to invoke a filter [in 2.4 Filters]
doGet() method [in 8.4.2 Setting the Response from a String]
[in 9.3 Implementing the Servlet Class]
[in 9.2 Designing the Servlet Class]
[in 8.4.1 Using Java-Like Output Functions]
[in 3.4 Implementing Request Handlers]
[in 3.4 Implementing Request Handlers]
[in 3.4 Implementing Request Handlers]
[in 3.4 Implementing Request Handlers]
implements behavior of servlet [in 9.3 Implementing the Servlet Class]
doHead() method [in 3.4 Implementing Request Handlers]
[in 3.4 Implementing Request Handlers]
doPost() method [in 9.3 Implementing the Servlet Class]
[in 9.2 Designing the Servlet Class]
[in 3.4 Implementing Request Handlers]
[in 6.1 Introduction]
doPut() method [in 3.4 Implementing Request Handlers]
doTrace() method [in 3.4 Implementing Request Handlers]
duplicate servlets, adding to container [in 4.8.1 Defining the Servlet Instance]
dynamic content, generated by servlet [in 2.1 The Servlet Approach]
encodeRedirectURL() method, on response [in 8.7 Redirecting the Client]
encodeURL() method
on rwsf:: HttpServletResponse [in 8.5 Returning the URL of a Servlet]
on rwsf::HttpServletResponse [in 7.5 Recovering Session State]
enumerations, and rwsf::Enumeration [in 6.2 Using rwsf::Enumeration]
error handling
and limitations in rwsf::Attribute [in 6.3 Using rwsf::Attribute]
configuring error pages [in 4.11 Configure Error Pages]
providing a default servlet mapping [in 4.4.3 Default Servlet]
servlets fail to load [in 5.3 Servlet Does Not Load]
when no contexts load into Agent [in 5.2 Agent Starts, No Contexts Load]
error-code element
in context-level web.xml, defined [in B.3 Context web.xml]
in global web.xml, defined [in B.2 Global web.xml]
in web.xml [in 4.11 Configure Error Pages]
error-page element
in context-level web.xml, defined [in B.3 Context web.xml]
in global web.xml, defined [in B.2 Global web.xml]
in web.xml [in 4.11 Configure Error Pages]
[in 4.2 Configuration File Example]
error-page handler, 404 File Not Found [in 7.2 Understanding Request Routing]
error-page
and returning an error in response [in 8.6 Returning an Error]
errors
and sendError() method on the response [in 8.6 Returning an Error]
returning static page using error-page element [in B.2 Global web.xml]
returning with response [in 8.6 Returning an Error]
Service Unavailable [in 8.6 Returning an Error]
written to Agent log [in 4.1.1 Procedure for Adding a Context]
events
defined [in 2.5 Listeners and Events]
examples
adding a date header with rwsf::DateTime [in 8.3 Creating HTTP Headers]
adding new attribute parameter [in 9.3 Implementing the Servlet Class]
AJP13 connection and request routing [in 7.2 Understanding Request Routing]
code to create HTML header [in 9.3 Implementing the Servlet Class]
creating cookies [in 7.6 Managing State on the Client with Cookies]
defining listeners [in 4.10 Define Listeners]
defining two filters [in 4.9.2 Mapping Filters to URLs]
directory tree for error page location [in 4.11 Configure Error Pages]
doFilter() function limiting access to servlet [in 6.5 Implementing a Filter]
doPost() forwards to doGet() [in 9.3 Implementing the Servlet Class]
enumeration [in 6.2 Using rwsf::Enumeration]
error-page definition [in 4.11 Configure Error Pages]
filter implementation [in 6.5 Implementing a Filter]
filter mapping [in 4.9.2 Mapping Filters to URLs]
forwarding request [in 8.8 Forwarding a Request]
forwarding request to remote Web page [in 8.8 Forwarding a Request]
generating HTML forms [in 9.3 Implementing the Servlet Class]
getting init params [in 6.7 Reading Initialization Parameters]
getting init params from context-param element [in 6.8 Reading Context Parameters]
getting values from a cookie [in 7.6 Managing State on the Client with Cookies]
HTML form tag to include session info [in 7.5 Recovering Session State]
initializing a listener with a specific attribute [in 6.6 Implementing a Listener]
local URL [in 3.10 Next Steps]
mapping same filter to two different servlets [in 4.9.2 Mapping Filters to URLs]
overiding doPost() and doGet() methods in servlet [in 9.2 Designing the Servlet Class]
processing a parameter with multiple values [in 7.4 Reading Parameters From a Form]
processing request parameters [in 7.4 Reading Parameters From a Form]
recovering string value from a session [in 7.5 Recovering Session State]
redirecting the client [in 8.7 Redirecting the Client]
retrieving Accept HTTP header values [in 7.3 Inspecting HTTP Headers]
retrieving and outputing session info [in 9.3 Implementing the Servlet Class]
retrieving list of headers from request [in 7.3 Inspecting HTTP Headers]
rwsf::Attribute storing std::string instance [in 6.3 Using rwsf::Attribute]
saving a shopping cart in a session [in 8.2 Saving Session State]
servlet code to retrieve filter init-param values [in 4.9.1 Defining the Filter Instance]
session validation [in 9.3 Implementing the Servlet Class]
setting attributes [in 7.5 Recovering Session State]
setting Content-Type to HTML [in 5.5 Browser Displays HTML Code from Servlet]
setting cookie values [in 7.6 Managing State on the Client with Cookies]
setting nonstandard HTTP header with setHeader() [in 8.3 Creating HTTP Headers]
setting payload with a string [in 8.4.2 Setting the Response from a String]
setting response to Service Unavailable error [in 8.6 Returning an Error]
setting timeouts [in 4.12 Configure Sessions]
two instances of same filter class [in 4.9.1 Defining the Filter Instance]
URL pattern matching [in 4.4.1 URL Pattern Syntax]
using doGet() with Java-like functions [in 8.4.1 Using Java-Like Output Functions]
using setContentType() type on response [in 8.3 Creating HTTP Headers]
web.xml and DEFINE servlet macro [in 6.4 Defining Filters, Servlets, and Listeners]
working with servlet attributes [in 6.3 Using rwsf::Attribute]
exceptions
and limitations in rwsf::Attribute [in 6.3 Using rwsf::Attribute]
extension element
in global web.xml, defined [in B.2 Global web.xml]
extensions of files, defined in web.xml [in B.2 Global web.xml]
file extensions, defined in web.xml [in B.2 Global web.xml]
File Not Found, 404, error-page handler [in 7.2 Understanding Request Routing]
files, static file as a request destination [in 7.2 Understanding Request Routing]
filter element
defined [in B.3 Context web.xml]
of web.xml [in 4.9.1 Defining the Filter Instance]
filter mapping
root element, defined [in B.3 Context web.xml]
filter-class element
defined [in B.3 Context web.xml]
of web.xml [in 4.9.1 Defining the Filter Instance]
of web.xml, to define name of shared library [in 4.9.1 Defining the Filter Instance]
filter-mapping element
defined [in B.3 Context web.xml]
of web.xml [in 4.4 URL Patterns]
[in 4.9.2 Mapping Filters to URLs]
filter-name element
defined [in B.3 Context web.xml]
[in B.3 Context web.xml]
of web.xml [in 4.9.1 Defining the Filter Instance]
filters
adding multiple [in 4.9.1 Defining the Filter Instance]
adding to a context for deployment [in 4.1.3 Procedure for Adding a Filter]
and filter chains [in 2.4 Filters]
defined [in 2.4 Filters]
example of two instances of a filter class [in 4.9.1 Defining the Filter Instance]
how to define and map [in 4.9 Define and Map Filters]
implementing [in 6.5 Implementing a Filter]
in servlet container [in 2.2 The Servlet Container and Web Applications]
mapping to URL [in 4.4 URL Patterns]
mapping to URLs [in 4.9.2 Mapping Filters to URLs]
process of request through container with filters [in 7.2 Understanding Request Routing]
forwarding a request [in 8.8 Forwarding a Request]
function names
creating custom using DEFINE macro [in 6.4 Defining Filters, Servlets, and Listeners]
GET request
HTTP method, about [in 3.4 Implementing Request Handlers]
HTTP request, example of [in 9.2 Designing the Servlet Class]
in HelloWorldExample servlet [in 3.2 Deriving from rwsf::HttpServlet]
getContextPath() method
on rwsf:: HttpServletResponse [in 8.5 Returning the URL of a Servlet]
getHeader() method
of rwsf::HttpServletRequest [in 7.3 Inspecting HTTP Headers]
getHeaders() method [in 7.3 Inspecting HTTP Headers]
getInitParameter() method [in 6.7 Reading Initialization Parameters]
[in 6.8 Reading Context Parameters]
getParameter method
on rwsf::HttpServletRequest [in 7.4 Reading Parameters From a Form]
getParameter() method
and INVALIDATE parameter [in 9.3 Implementing the Servlet Class]
getParameterValues() method, on rwsf::HttpRequestHeader [in 7.4 Reading Parameters From a Form]
getServletPath() method
on rwsf:: HttpServletResponse [in 8.5 Returning the URL of a Servlet]
getSession() method
on rwsf::HttpServletRequest [in 8.2 Saving Session State]
getValue() method
on rwsf::Cookie [in 7.6 Managing State on the Client with Cookies]
handlers
servlet as [in 2.1 The Servlet Approach]
hasMoreElements() method
of rwsf::Enumeration [in 6.2 Using rwsf::Enumeration]
HEAD, HTTP method [in 3.4 Implementing Request Handlers]
headers
and setDateHeader() method [in 8.3 Creating HTTP Headers]
and setHeader() method on rwsf::HttpServletResponse [in 8.3 Creating HTTP Headers]
and setIntHeader()method [in 8.3 Creating HTTP Headers]
code to create [in 9.3 Implementing the Servlet Class]
HP-UX, library name format [in C.2 Library Name Format]
HTML code
displayed, and troubleshooting [in 5.5 Browser Displays HTML Code from Servlet]
HTML forms
reading parameters [in 7.4 Reading Parameters From a Form]
HTML
code to create header [in 9.3 Implementing the Servlet Class]
example of setting Content-Type [in 5.5 Browser Displays HTML Code from Servlet]
HTTP error code
defined in web.xml [in B.2 Global web.xml]
HTTP headers
and responses [in 8.1 Introduction]
and rwsf::HttpServletRequest [in 7.3 Inspecting HTTP Headers]
and rwsf::HttpServletResponse [in 8.3 Creating HTTP Headers]
HTTP Method
DELETE [in 3.4 Implementing Request Handlers]
GET [in 3.4 Implementing Request Handlers]
HEAD [in 3.4 Implementing Request Handlers]
POST [in 3.4 Implementing Request Handlers]
PUT [in 3.4 Implementing Request Handlers]
TRACE [in 3.4 Implementing Request Handlers]
HTTP protocol
and cookies [in 7.6 Managing State on the Client with Cookies]
HTTP
about [in 2.3.1 Request and Response]
http
default handler chain [in 2.2 The Servlet Container and Web Applications]
HTTP
status code Bad Request Response [in 3.4 Implementing Request Handlers]
status code Method Not Allowed [in 3.4 Implementing Request Handlers]
HttpServlet [in 9.2 Designing the Servlet Class]
HttpServletRequest
getHeaderNames [in 7.3 Inspecting HTTP Headers]
getParameterNames [in 7.4 Reading Parameters From a Form]
HttpServletResponse
println [in 8.4.1 Using Java-Like Output Functions]
HttpSession
setAttribute [in 8.2 Saving Session State]
inactive sessions, and timeouts [in 7.5 Recovering Session State]
init() method
and Servlet Specification [in 6.5 Implementing a Filter]
of servlet [in 5.3 Servlet Does Not Load]
of servlet, and reading init parameters [in 6.7 Reading Initialization Parameters]
on servlet [in 3.1.1 Servlet Initialization and Destruction]
init-param element
and filters [in 4.9.1 Defining the Filter Instance]
defined [in B.3 Context web.xml]
in web.xml [in 4.3 Servlet and Filter Initialization Parameters]
of a filter or servlet [in 4.3 Servlet and Filter Initialization Parameters]
of web.xml [in 4.8.1 Defining the Servlet Instance]
initialization parameters
and character encoding [in 4.2.1 Character Set]
reading [in 6.7 Reading Initialization Parameters]
setting [in 4.3 Servlet and Filter Initialization Parameters]
initialization
of a servlet [in 4.8.1 Defining the Servlet Instance]
internationalization
and character sets [in 4.2.1 Character Set]
and UTF-16 in web.xml [in 4.3 Servlet and Filter Initialization Parameters]
and UTF-8 in web.xml [in 4.3 Servlet and Filter Initialization Parameters]
INVALIDATE parameter of getParameter() method [in 9.3 Implementing the Servlet Class]
isNew() method [in 7.5 Recovering Session State]
isRequestedSessionIdFromCookie() method [in 7.5 Recovering Session State]
isRequestedSessionIdFromURL() method [in 7.5 Recovering Session State]
Java Enumeration interface, and rwsf::Enumeration [in 9.3 Implementing the Servlet Class]
Java servlets, and JDK [in 2.1 The Servlet Approach]
Java
printing functions equivalent [in 8.4.1 Using Java-Like Output Functions]
servlet web .xml file [in 4.6 Create a Context Directory]
using relevant output functions [in 8.4.1 Using Java-Like Output Functions]
LD_LIBRARY_PATH
UNIX environment variable and deployed files [in 4.5 Deploy the Compiled Object Files]
UNIX environment variable, defined [in C.1 Environment Variables]
lib directory
deployment location for UNIX [in 9.5 Deploying Servlets]
for Windows [in 4.5 Deploy the Compiled Object Files]
libraries
defined in filter-class element [in 4.9.1 Defining the Filter Instance]
loading to path known to Agent [in 9.5 Deploying Servlets]
library
shared library containing servlet [in 4.8.1 Defining the Servlet Instance]
license
for third party applications [in 1.3 Where to Find Additional Information]
limitations
in rwsf::Attribute [in 6.3 Using rwsf::Attribute]
Linux, library name format [in C.2 Library Name Format]
listener element
defined [in B.3 Context web.xml]
in web.xml [in 4.10 Define Listeners]
listener-class element
defined [in B.3 Context web.xml]
in web.xml [in 4.10 Define Listeners]
listeners
adding to a context for deployment [in 4.1.4 Procedure for Adding a Listener]
and sessions [in 6.6 Implementing a Listener]
defined [in 2.5 Listeners and Events]
how to define [in 4.10 Define Listeners]
implementing [in 6.6 Implementing a Listener]
in servlet container [in 2.2 The Servlet Container and Web Applications]
loading information using listener-class element [in B.3 Context web.xml]
location element
in context-level web.xml, defined [in B.3 Context web.xml]
in global web.xml, defined [in B.2 Global web.xml]
in web.xml, to define error page location [in 4.11 Configure Error Pages]
location, of servlet
defined by url-pattern element [in 4.8.2 Mapping Servlets to URLs]
logging
default log file, agent.log [in 5.1 Introduction]
rwagent.xml file and debugging [in 3.9 Debugging a Servlet]
looping
and rwsf::Enumeration [in 6.2 Using rwsf::Enumeration]
macros
for listeners, servlets, and filters [in 6.4 Defining Filters, Servlets, and Listeners]
RWSF_DEFINE_FILTER [in 4.9.1 Defining the Filter Instance]
[in 6.4 Defining Filters, Servlets, and Listeners]
RWSF_DEFINE_FILTER_NAME [in 6.4 Defining Filters, Servlets, and Listeners]
RWSF_DEFINE_LISTENER [in 6.4 Defining Filters, Servlets, and Listeners]
[in 4.10 Define Listeners]
[in 6.4 Defining Filters, Servlets, and Listeners]
RWSF_DEFINE_SERVLET [in 3.4 Implementing Request Handlers]
[in 6.4 Defining Filters, Servlets, and Listeners]
[in 4.8.1 Defining the Servlet Instance]
[in 3.3 Defining the Servlet]
[in 3.1 Introduction]
[in 9.3 Implementing the Servlet Class]
RWSF_DEFINE_SERVLET_NAME [in 6.4 Defining Filters, Servlets, and Listeners]
makefiles
defines location of files to deploy [in 9.5 Deploying Servlets]
examples [in 3.5 Compiling the Servlet]
manual, organization [in 1.2 Organization of this Manual]
mapping
defining name of servlet to map [in B.3 Context web.xml]
mime-mapping element [in B.2 Global web.xml]
of URL patterns [in 4.4.2 Servlet Matching Procedure]
root element for servlet mapping [in B.3 Context web.xml]
servlets to URL patterns [in 4.8 Define and Map Servlets]
messages
data formatted as C++ objects in container [in 2.2.1 Network Connection]
Method Not Allowed
HTTP status code [in 3.4 Implementing Request Handlers]
MIME type
defined in web.xml [in B.2 Global web.xml]
setting as Content-Type in header [in 8.3 Creating HTTP Headers]
mime-mapping element
in global web.xml, defined [in B.2 Global web.xml]
mime-type element
in global web.xml, defined [in B.2 Global web.xml]
multiple filters
adding [in 4.9.1 Defining the Filter Instance]
multiple requests
and sessions [in 8.2 Saving Session State]
in Agent [in 2.2 The Servlet Container and Web Applications]
multithreads
and filters [in 2.4 Filters]
and multiple client requests [in 8.2 Saving Session State]
in container and objects [in 2.2 The Servlet Container and Web Applications]
in servlets, setting [in B.3 Context web.xml]
named objects
defined [in 2.6 Named Objects]
held in servlet container [in 2.2 The Servlet Container and Web Applications]
naming
filters using filter-name element [in 4.9.1 Defining the Filter Instance]
of functions using DEFINE macro [in 6.4 Defining Filters, Servlets, and Listeners]
servlet in servlet-name element [in 4.8.1 Defining the Servlet Instance]
network connection
and connectors [in 2.2.1 Network Connection]
nextElement()method
of rwsf::Enumeration [in 6.2 Using rwsf::Enumeration]
param-name element
defined [in B.3 Context web.xml]
[in B.3 Context web.xml]
in web.xml [in 4.7 Set Context Parameters]
within an init-param element [in 4.3 Servlet and Filter Initialization Parameters]
param-value element
defined [in B.3 Context web.xml]
[in B.3 Context web.xml]
in web.xml [in 4.7 Set Context Parameters]
parameter names
defined in web.xml [in B.3 Context web.xml]
defined inw web.xml [in B.3 Context web.xml]
parameter values
defined in web.xml [in B.3 Context web.xml]
parameters
finding names [in 7.4 Reading Parameters From a Form]
finding values [in 7.4 Reading Parameters From a Form]
PATH Windows environment variable
and deployed files [in 4.5 Deploy the Compiled Object Files]
and editing makefiles [in 9.5 Deploying Servlets]
defined [in C.1 Environment Variables]
path
and installing compiled object files [in 3.6 Installing the Compiled Object Files]
to a context, returning [in 8.5 Returning the URL of a Servlet]
to a servlet, returning [in 8.5 Returning the URL of a Servlet]
troubleshooting library location [in 5.3 Servlet Does Not Load]
payload
setting on response [in 8.4.2 Setting the Response from a String]
[in 8.4.2 Setting the Response from a String]
performance, and threading issues [in 4.8.3 Single-thread Access]
POST
HTTP method [in 3.4 Implementing Request Handlers]
HTTP request, example of [in 9.2 Designing the Servlet Class]
postprocessing, encapsulated by a filter [in 2.4 Filters]
preprocessing, encapsulated by a filter [in 2.4 Filters]
print function [in 3.4 Implementing Request Handlers]
print() method [in 9.3 Implementing the Servlet Class]
print() method on response [in 8.4.1 Using Java-Like Output Functions]
println function [in 3.4 Implementing Request Handlers]
println() method [in 9.3 Implementing the Servlet Class]
println() method on response [in 8.4.1 Using Java-Like Output Functions]
processing, of requests through Agent [in 2.2 The Servlet Container and Web Applications]
PUT
HTTP method [in 3.4 Implementing Request Handlers]
read permissions
and troubleshooting [in 5.4 Context Does Not Load]
redirecting
the client [in 8.7 Redirecting the Client]
Referer HTTP header [in 7.3 Inspecting HTTP Headers]
release builds
12d flag [in 9.4 Compiling Servlets]
[in 4.9.1 Defining the Filter Instance]
[in 3.5 Compiling the Servlet]
[in 4.8.1 Defining the Servlet Instance]
[in 9.4 Compiling Servlets]
[in 3.5 Compiling the Servlet]
request handlers
HTTP [in 3.4 Implementing Request Handlers]
request object
and servlet container [in 2.3.1 Request and Response]
request-response
HTTP protocol [in 2.3.1 Request and Response]
RequestDispatcher
forward [in 8.8 Forwarding a Request]
requests
and implementing filters [in 6.5 Implementing a Filter]
container routing of [in 7.2 Understanding Request Routing]
how processed through Agent [in 2.2 The Servlet Container and Web Applications]
instance of rwsf::HttpServletRequest [in 6.1 Introduction]
multiple requests in Agent [in 2.2 The Servlet Container and Web Applications]
process through container [in 7.1 Introduction]
resources
books and articles [in A.1 Books and Articles]
related websites [in A.2 Web Sites]
responses
adding a date header [in 8.3 Creating HTTP Headers]
adding a header that contains a number [in 8.3 Creating HTTP Headers]
and implementing filters [in 6.5 Implementing a Filter]
and returning errors [in 8.6 Returning an Error]
and servlet container [in 2.3.1 Request and Response]
and sessions [in 8.1 Introduction]
instance of rwsf::HttpServletResponse [in 6.1 Introduction]
RFC 2109, cookie specification [in 7.6 Managing State on the Client with Cookies]
routing
of requests through container [in 7.2 Understanding Request Routing]
runtime library loading
location [in 9.5 Deploying Servlets]
rwagent.log file [in 3.9 Debugging a Servlet]
rwagent.xml file
and deployment directory setting [in 5.2 Agent Starts, No Contexts Load]
RWSF_DEFINE macros [in 4.9.1 Defining the Filter Instance]
[in 4.10 Define Listeners]
[in 4.8.1 Defining the Servlet Instance]
list of [in 6.4 Defining Filters, Servlets, and Listeners]
RWSF_DEFINE_FILTER macro [in 6.4 Defining Filters, Servlets, and Listeners]
[in 4.9.1 Defining the Filter Instance]
RWSF_DEFINE_FILTER_NAME macro [in 6.4 Defining Filters, Servlets, and Listeners]
RWSF_DEFINE_LISTENER macro [in 6.4 Defining Filters, Servlets, and Listeners]
[in 4.10 Define Listeners]
[in 6.4 Defining Filters, Servlets, and Listeners]
RWSF_DEFINE_SERVLET macro [in 3.3 Defining the Servlet]
[in 4.8.1 Defining the Servlet Instance]
[in 3.1 Introduction]
[in 6.4 Defining Filters, Servlets, and Listeners]
[in 3.4 Implementing Request Handlers]
[in 9.3 Implementing the Servlet Class]
RWSF_DEFINE_SERVLET_NAME macro [in 6.4 Defining Filters, Servlets, and Listeners]
rwsf:: HttpServletResponse
encodeURL() method [in 8.5 Returning the URL of a Servlet]
getContextPath() method [in 8.5 Returning the URL of a Servlet]
getServletPath() method [in 8.5 Returning the URL of a Servlet]
rwsf::Attribute [in 9.3 Implementing the Servlet Class]
and listeners [in 6.6 Implementing a Listener]
and session parameters [in 9.3 Implementing the Servlet Class]
and session state in a response [in 8.2 Saving Session State]
defined [in 6.3 Using rwsf::Attribute]
hold session state [in 7.5 Recovering Session State]
limitations [in 6.3 Using rwsf::Attribute]
operator [in 6.3 Using rwsf::Attribute]
rwsf::Cookie [in 7.6 Managing State on the Client with Cookies]
getValue() method [in 7.6 Managing State on the Client with Cookies]
setMaxAge() method [in 7.6 Managing State on the Client with Cookies]
setValue() method [in 7.6 Managing State on the Client with Cookies]
rwsf::DateTime
and setDateHeader() method [in 8.3 Creating HTTP Headers]
printing time session is created [in 9.3 Implementing the Servlet Class]
rwsf::Enumeration
returned by getParameterNames() function [in 7.4 Reading Parameters From a Form]
returned session parameters [in 9.3 Implementing the Servlet Class]
using [in 6.2 Using rwsf::Enumeration]
rwsf::Exception
and extracting attributes [in 6.3 Using rwsf::Attribute]
and returned session attributes [in 7.5 Recovering Session State]
rwsf::GenericServlet
accessing init params directly [in 6.7 Reading Initialization Parameters]
rwsf::HttpServlet [in 9.2 Designing the Servlet Class]
base class for servlets [in 3.1 Introduction]
servlet base class [in 3.2 Deriving from rwsf::HttpServlet]
rwsf::HttpServletRequest [in 6.1 Introduction]
[in 3.4 Implementing Request Handlers]
and HTTP headers [in 7.3 Inspecting HTTP Headers]
getParameter() method [in 7.4 Reading Parameters From a Form]
getParameterValues() method [in 7.4 Reading Parameters From a Form]
getSession() method [in 8.2 Saving Session State]
rwsf::HttpServletResponse [in 6.1 Introduction]
[in 3.4 Implementing Request Handlers]
and HTTP headers [in 8.3 Creating HTTP Headers]
and setDateHeader() method [in 8.3 Creating HTTP Headers]
and setIntHeader()method [in 8.3 Creating HTTP Headers]
appendPayload() method [in 8.4.2 Setting the Response from a String]
encodeURL() method [in 7.5 Recovering Session State]
output functions [in 8.4 Creating an HTTP Response]
print [in 8.4.1 Using Java-Like Output Functions]
provides values for HTTP status codes [in 8.6 Returning an Error]
returning an error [in 8.6 Returning an Error]
sendError() method [in 8.6 Returning an Error]
sendRedirect() method [in 8.7 Redirecting the Client]
setContentType [in 5.5 Browser Displays HTML Code from Servlet]
setHeader() method [in 8.3 Creating HTTP Headers]
rwsf::HttpSession
setFromCookie() attribute [in 7.5 Recovering Session State]
setFromURL [in 7.5 Recovering Session State]
rwsf::OutOfBoundsException
and enumerations [in 6.2 Using rwsf::Enumeration]
rwsf::ServletContext [in 4.12 Configure Sessions]
rwsf::ServletOutputStream
in response [in 8.4.2 Setting the Response from a String]
rwsf::ServletResponse
and setPayload() function [in 8.4.2 Setting the Response from a String]
rwsf::webappsDir property
in web.xml to define deployment directory [in 9.5.1 Changing the Default Deployment Directories]
rwsf:HttpServlet [in 3.4 Implementing Request Handlers]
rwsfserver [in 3.8 Stopping and Starting the Agent, and Executing the Servlet]
rwsfvars environment setup script [in 9.5 Deploying Servlets]
rwsfvars
environment setup script [in 3.6 Installing the Compiled Object Files]
rwst::HttpServletRequest
getSession() method [in 7.5 Recovering Session State]
security
managed through servlet container [in 2.1 The Servlet Approach]
sendError() method
on rwsf::HttpServletResponse [in 8.6 Returning an Error]
sendRedirect() method
on rwsf::HttpServletResponse [in 8.7 Redirecting the Client]
service execution engine, or Agent
described [in 2.1 The Servlet Approach]
Service Unavailable error
returning on response [in 8.6 Returning an Error]
servlet API
about [in 2.1 The Servlet Approach]
Servlet package [in 1.1 Welcome]
servlet base class [in 3.2 Deriving from rwsf::HttpServlet]
servlet container [in 2.2.2 Contexts]
and state [in 2.3.2 Maintaining State]
described [in 2.1 The Servlet Approach]
hosted in HydraExpress [in 2.1 The Servlet Approach]
startup [in 2.2 The Servlet Container and Web Applications]
servlet element
defined [in B.3 Context web.xml]
of web.xml [in 4.8.1 Defining the Servlet Instance]
of web.xml, contains any number of init-param elements [in 4.8.1 Defining the Servlet Instance]
servlet example
Hello World [in 3.1 Introduction]
SessionExample [in 9.1 Introduction]
Servlet package [in 1.1 Welcome]
Servlet Specification
and returning errors [in 8.6 Returning an Error]
init() and destroy() methods [in 6.5 Implementing a Filter]
printing functions [in 8.4.1 Using Java-Like Output Functions]
servlet-class element
defined [in B.3 Context web.xml]
of web.xml [in 4.8.1 Defining the Servlet Instance]
[in 4.8.1 Defining the Servlet Instance]
of web.xml, and troubleshooting [in 5.3 Servlet Does Not Load]
servlet-mapping element
defined [in B.3 Context web.xml]
of web.xml [in 4.8.2 Mapping Servlets to URLs]
[in 4.4 URL Patterns]
servlet-name element
defined [in B.3 Context web.xml]
[in B.3 Context web.xml]
of web.xml [in 4.8.1 Defining the Servlet Instance]
[in 4.8.2 Mapping Servlets to URLs]
ServletContext
getNamedDispatcher [in 8.8 Forwarding a Request]
servlets
adding a context [in 4.1.1 Procedure for Adding a Context]
adding a filter [in 4.1.3 Procedure for Adding a Filter]
adding a listener [in 4.1.4 Procedure for Adding a Listener]
adding a servlet [in 4.1.2 Procedure for Adding a Servlet]
adding duplicate instances to container [in 4.8.1 Defining the Servlet Instance]
and URL mapping, procedure for a match [in 4.4.2 Servlet Matching Procedure]
configuration [in 4.8 Define and Map Servlets]
creating and deploying [in 3.1 Introduction]
defined [in 2.1 The Servlet Approach]
definition [in 2.3 Servlets]
failing to load, and troubleshooting [in 5.3 Servlet Does Not Load]
in servlet container [in 2.2 The Servlet Container and Web Applications]
initialization [in 4.8.1 Defining the Servlet Instance]
[in 3.1.1 Servlet Initialization and Destruction]
mapping to URLs [in 4.4 URL Patterns]
name, defined in web.xml [in B.3 Context web.xml]
returning the path to [in 8.5 Returning the URL of a Servlet]
session ID
code to print [in 9.3 Implementing the Servlet Class]
session timeout, default for context [in 4.12 Configure Sessions]
session timeout, individual session [in 7.5 Recovering Session State]
session-config element
in web.xml [in 4.2 Configuration File Example]
of web.xml [in 4.12 Configure Sessions]
[in 4.12 Configure Sessions]
session-timeout element, of web.xml [in 4.12 Configure Sessions]
sessions
and multiple requests [in 8.2 Saving Session State]
and responses [in 8.1 Introduction]
and state [in 2.3.2 Maintaining State]
configuring [in 4.12 Configure Sessions]
example of retrieving and outputing info [in 9.3 Implementing the Servlet Class]
initializing with listener [in 6.6 Implementing a Listener]
printing time created [in 9.3 Implementing the Servlet Class]
recovering state from [in 7.5 Recovering Session State]
saving state in [in 8.2 Saving Session State]
storing session identifier using cookies [in 7.5 Recovering Session State]
setContentType() method, on rwsf::HTTPServletResponse [in 5.5 Browser Displays HTML Code from Servlet]
setDateHeader() method, on rwsf::HttpServletResponse [in 8.3 Creating HTTP Headers]
setFromCookie() method, on rwsf::HttpSession [in 7.5 Recovering Session State]
setFromURL() method, on rwsf::HttpSession [in 7.5 Recovering Session State]
setHeader() method, on rwsf::HttpServletResponse [in 8.3 Creating HTTP Headers]
setMaxAge() method, on rwsf::Cookie [in 7.6 Managing State on the Client with Cookies]
setMaxInactiveInterval() method [in 7.5 Recovering Session State]
setPayload() method, on rwsf::ServletResponse [in 8.4.2 Setting the Response from a String]
setValue() method, on rwsf::Cookie [in 7.6 Managing State on the Client with Cookies]
shared library
defined in web.xml [in B.3 Context web.xml]
single threads, in servlets, setting [in B.3 Context web.xml]
single-thread access, to container [in 4.8.3 Single-thread Access]
single-thread attribute, in web.xml [in 4.8.3 Single-thread Access]
Solaris, library name format [in C.2 Library Name Format]
SourcePro C++
and HydraExpress servlets [in 2.1 The Servlet Approach]
dependency [in 2.1 The Servlet Approach]
starting, the Agent or container [in 3.8 Stopping and Starting the Agent, and Executing the Servlet]
state
and servlet container [in 2.3.2 Maintaining State]
and stateless listeners [in 6.6 Implementing a Listener]
managing with cookies [in 7.6 Managing State on the Client with Cookies]
managing with cookies, discussion on design [in 7.6 Managing State on the Client with Cookies]
saving from session [in 8.2 Saving Session State]
stateless, HTTP protocol [in 2.3.1 Request and Response]
static file, as request destination [in 7.2 Understanding Request Routing]
static page
defined in error-page in web.xml [in B.2 Global web.xml]
defining in web.xml [in B.3 Context web.xml]
status codes
Bad Request Response [in 3.4 Implementing Request Handlers]
HTTP Method Not Allowed [in 3.4 Implementing Request Handlers]
provided in rwsf::HttpServletResponse [in 8.6 Returning an Error]
std::list, and getParameterValues() method [in 7.4 Reading Parameters From a Form]
std::string
and getInitParameter() overload [in 6.8 Reading Context Parameters]
as body of response [in 8.4.2 Setting the Response from a String]
getInitParameter() overload [in 6.7 Reading Initialization Parameters]
stored in rwsf::Attribute [in 6.3 Using rwsf::Attribute]
with rwsf::Attribute to store strings [in 7.5 Recovering Session State]
stopping, the Agent or container [in 3.8 Stopping and Starting the Agent, and Executing the Servlet]
technical support [in 1.3 Where to Find Additional Information]
texthtml
setting as Content-Type [in 9.3 Implementing the Servlet Class]
[in 8.4.2 Setting the Response from a String]
third-party applications, shipped with HydraExpress [in 1.3 Where to Find Additional Information]
threads
and multiple requests [in 8.2 Saving Session State]
in servlet container [in 2.2 The Servlet Container and Web Applications]
in servlets, setting [in B.3 Context web.xml]
single thread access to servlet [in 4.8.3 Single-thread Access]
time, of created session, printing [in 9.3 Implementing the Servlet Class]
timeouts, in a session [in 7.5 Recovering Session State]
TRACE
HTTP method [in 3.4 Implementing Request Handlers]
troubleshooting
browser displays HTML code [in 5.5 Browser Displays HTML Code from Servlet]
changing deployment directory [in 9.5.1 Changing the Default Deployment Directories]
context does not load [in 5.4 Context Does Not Load]
locatiion of default Agent log file [in 5.1 Introduction]
no contexts load [in 5.2 Agent Starts, No Contexts Load]
providing a default servlet mapping [in 4.4.3 Default Servlet]
servlet does not load [in 5.3 Servlet Does Not Load]
unique identifier
in a session [in 8.2 Saving Session State]
[in 7.5 Recovering Session State]
[in 2.3.2 Maintaining State]
UNIX
default deployment location lib directory [in 9.5 Deploying Servlets]
environment variable LD_LIBRARY_PATH [in C.1 Environment Variables]
URL patterns
about [in 4.4 URL Patterns]
and configuring servlets [in 4.8 Define and Map Servlets]
default mapping [in 4.4.3 Default Servlet]
defined in web.xml [in B.3 Context web.xml]
[in B.3 Context web.xml]
mapping filters to URLs [in 4.9.2 Mapping Filters to URLs]
mapping from servlet [in 4.8.2 Mapping Servlets to URLs]
syntax [in 4.4.1 URL Pattern Syntax]
url-pattern element of web.xml [in 4.4 URL Patterns]
url-pattern element
character set [in 4.4 URL Patterns]
defined [in B.3 Context web.xml]
[in B.3 Context web.xml]
in a filter [in 4.9.2 Mapping Filters to URLs]
of web.xml [in 4.8.2 Mapping Servlets to URLs]
[in 3.7 Adding the Servlet to the web.xml file]
of web.xml, to determine location of servlet in context [in 4.8.2 Mapping Servlets to URLs]
URL
generating for a servlet [in 8.5 Returning the URL of a Servlet]
of request, to define destination [in 7.2 Understanding Request Routing]
setting with setFromURL() [in 7.5 Recovering Session State]
UTF-16 character set [in 4.3 Servlet and Filter Initialization Parameters]
[in 4.2.1 Character Set]
UTF-8 character set [in 4.2.1 Character Set]
[in 4.3 Servlet and Filter Initialization Parameters]
validation of session, code example [in 9.3 Implementing the Servlet Class]
web application
defined [in 2.2.2 Contexts]
[in 4.6 Create a Context Directory]
web-app element
about [in 4.6 Create a Context Directory]
in context-level web.xml, defined [in B.3 Context web.xml]
root element of global web.xml, defined [in B.2 Global web.xml]
root element of web.xml [in 4.6 Create a Context Directory]
WEB-INF directory
and context directory structure [in 4.6 Create a Context Directory]
and context does not load error [in 5.4 Context Does Not Load]
and deployment [in 4.1.1 Procedure for Adding a Context]
within a context [in 2.2.2 Contexts]
web.xml file
adding servlet to [in 3.7 Adding the Servlet to the web.xml file]
and contexts [in 2.2.2 Contexts]
and location of context [in 4.6 Create a Context Directory]
and session timeout setting [in 7.5 Recovering Session State]
creating for deployment [in 4.1.1 Procedure for Adding a Context]
example [in 4.2 Configuration File Example]
global file root element defined [in B.2 Global web.xml]
in Java [in 4.6 Create a Context Directory]
Windows
deployment location [in 9.5 Deploying Servlets]
environment variable PATH [in C.1 Environment Variables]
library name format [in C.2 Library Name Format]
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.