Defines a generic, protocol-independent
servlet.
Returns the object bound with the specified name in this session, or
null
if no object is bound under the name.
Return the object associated with the name in the page scope or null
if not found.
Returns the servlet container attribute with the given name,
or null
if there is no attribute by that name.
Returns the value of the named attribute as an Object
,
or null
if no attribute of the given name exists.
The default behavior of this method is to call getAttribute(String name)
on the wrapped request object.
The value of the attribute.
Return the object associated with the name in the specified
scope or null if not found.
Returns an Enumeration
of String
objects
containing the names of all the objects bound to this session.
Returns an Enumeration
containing the
attribute names available
within this servlet context.
Returns an Enumeration
containing the
names of the attributes available to this request.
The default behavior of this method is to return getAttributeNames()
on the wrapped request object.
Enumerate all the attributes in a given scope
Enumerates the attributes.
Attribute information (in the TLD) on this tag.
Get the scope where a given attribute is defined.
Get the value for a given attribute.
Returns the name of the authentication scheme used to protect
the servlet.
The default behavior of this method is to return getAuthType()
on the wrapped request object.
The bodycontent information for this tag.
This method returns the size of the buffer used by the JspWriter.
Returns the actual buffer size used for the response.
The default behavior of this method is to return getBufferSize()
on the wrapped response object.
Returns the name of the character encoding used in the body of this
request.
The default behavior of this method is to return getCharacterEncoding()
on the wrapped request object.
Returns the name of the charset used for
the MIME body sent in this response.
The default behavior of this method is to return getCharacterEncoding()
on the wrapped response object.
The body of the <variable-class> element.
Returns the comment describing the purpose of this cookie, or
null
if the cookie has no comment.
Returns the length, in bytes, of the request body
and made available by the input stream, or -1 if the
length is not known.
The default behavior of this method is to return getContentLength()
on the wrapped request object.
Returns the MIME type of the body of the request, or
null
if the type is not known.
The default behavior of this method is to return getContentType()
on the wrapped request object.
Returns a ServletContext
object that
corresponds to a specified URL on the server.
Returns the portion of the request URI that indicates the context
of the request.
The default behavior of this method is to return getContextPath()
on the wrapped request object.
Returns an array containing all of the Cookie
objects the client sent with this request.
The default behavior of this method is to return getCookies()
on the wrapped request object.
Returns the time when this session was created, measured
in milliseconds since midnight January 1, 1970 GMT.
Returns the value of the specified request header
as a long
value that represents a
Date
object.
The default behavior of this method is to return getDateHeader(String name)
on the wrapped request object.
The body of the <declare> element
Returns the domain name set for this cookie.
Get the enclosing JspWriter.
called to get implementation-specific information on the current JSP engine
The current value of the exception object (an Exception).
Returns the filter-name of this filter as defined in the deployment descriptor.
Returns the value of the specified request header
as a String
.
The default behavior of this method is to return getHeader(String name)
on the wrapped request object.
Returns an enumeration of all the header names
this request contains.
The default behavior of this method is to return getHeaderNames()
on the wrapped request object.
Returns all the values of the specified request header
as an Enumeration
of String
objects.
The default behavior of this method is to return getHeaders(String name)
on the wrapped request object.
Returns a string containing the unique identifier assigned
to this session.
The value of the id attribute, if available.
The value of the id attribute of this tag; or null.
Convenience static method that goes through an array of TagAttributeInfo
objects and looks for "id".
The information string for the tag.
Information (documentation) for this TLD.
Returns a String
containing the value of the
named initialization parameter, or null
if
the parameter does not exist.
Returns a String
containing the value of the named
initialization parameter, or null
if the parameter does
not exist.
Returns a String
containing the value of the
named initialization parameter, or null
if
the parameter does not exist.
Returns a String
containing the value of the named
context-wide initialization parameter, or null
if the
parameter does not exist.
Returns the names of the servlet's initialization parameters
as an Enumeration
of String
objects,
or an empty Enumeration
if the servlet has
no initialization parameters.
Returns the names of the servlet's initialization parameters
as an Enumeration
of String
objects,
or an empty Enumeration
if the servlet has no
initialization parameters.
Returns the names of the servlet's initialization parameters
as an Enumeration
of String
objects,
or an empty Enumeration
if the servlet has
no initialization parameters.
Returns the names of the context's initialization parameters as an
Enumeration
of String
objects, or an
empty Enumeration
if the context has no initialization
parameters.
Get the init parameters data as an immutable Map.
Returns an input stream on the XML view of a JSP page.
The default behavior of this method is to return getInputStream()
on the wrapped request object.
Returns the value of the specified request header
as an int
.
The default behavior of this method is to return getIntHeader(String name)
on the wrapped request object.
Get the path to the large icon
Returns the last time the client sent a request associated with
this session, as the number of milliseconds since midnight
January 1, 1970 GMT, and marked by the time the container recieved the request.
Returns the time the HttpServletRequest
object was last modified,
in milliseconds since midnight January 1, 1970 GMT.
Returns the preferred Locale
that the client will
accept content in, based on the Accept-Language header.
The default behavior of this method is to return getLocale()
on the wrapped request object.
Returns the locale assigned to the response.
The default behavior of this method is to return getLocale()
on the wrapped response object.
Returns an Enumeration
of Locale
objects
indicating, in decreasing order starting with the preferred locale, the
locales that are acceptable to the client based on the Accept-Language
header.
The default behavior of this method is to return getLocales()
on the wrapped request object.
Returns the major version of the Java Servlet API that this
servlet container supports.
Returns the maximum age of the cookie, specified in seconds,
By default, -1
indicating the cookie will persist
until browser shutdown.
Returns the maximum time interval, in seconds, that
the servlet container will keep this session open between
client accesses.
Get the localized validation message.
Returns the name of the HTTP method with which this
request was made, for example, GET, POST, or PUT.
The default behavior of this method is to return getMethod()
on the wrapped request object.
Returns the MIME type of the specified file, or null
if
the MIME type is not known.
Returns the minor version of the Servlet API that this
servlet container supports.
Returns the name of the cookie.
Returns the name with which the attribute is bound to or
unbound from the session.
Return the name of the attribute that changed on the ServletContext.
The name of this attribute.
The body of the <name-from-attribute> element.
The body of the <name-given> element
The current value of the out object (a JspWriter).
The default behavior of this method is to return getOutputStream()
on the wrapped response object.
The current value of the page object (a Servlet).
obtains an instance of an implementation dependent
javax.servlet.jsp.PageContext abstract class for the calling Servlet
and currently pending request and response.
Returns the value of a request parameter as a String
,
or null
if the parameter does not exist.
The default behavior of this method is to return getParameter(String name)
on the wrapped request object.
Returns a java.util.Map of the parameters of this request.
The default behavior of this method is to return getParameterMap()
on the wrapped request object.
Returns an Enumeration
of String
objects containing the names of the parameters contained
in this request.
The default behavior of this method is to return getParameterNames()
on the wrapped request object.
Returns an array of String
objects containing
all of the values the given request parameter has, or
null
if the parameter does not exist.
The default behavior of this method is to return getParameterValues(String name)
on the wrapped request object.
Get the parent (closest enclosing tag handler) for this tag handler.
The Tag instance most closely enclosing this tag instance.
Returns the path on the server
to which the browser returns this cookie.
Returns any extra path information associated with
the URL the client sent when it made this request.
The default behavior of this method is to return getPathInfo()
on the wrapped request object.
Returns any extra path information after the servlet name
but before the query string, and translates it to a real
path.
The default behavior of this method is to return getPathTranslated()
on the wrapped request object.
The prefix assigned to this taglib from the <%taglib directive
Get surrounding out JspWriter.
Returns the name and version of the protocol the request uses
in the form protocol/majorVersion.minorVersion, for
example, HTTP/1.1.
The default behavior of this method is to return getProtocol()
on the wrapped request object.
Returns the query string that is contained in the request
URL after the path.
The default behavior of this method is to return getQueryString()
on the wrapped request object.
Return the value of this BodyContent as a Reader.
Retrieves the body of the request as character data using
a BufferedReader
.
The default behavior of this method is to return getReader()
on the wrapped request object.
Returns a String
containing the real path
for a given virtual path.
The default behavior of this method is to return getRealPath(String path)
on the wrapped request object.
The "reliable" URN indicated in the TLD.
This method returns the number of unused bytes in the buffer.
Returns the Internet Protocol (IP) address of the client
that sent the request.
The default behavior of this method is to return getRemoteAddr()
on the wrapped request object.
Returns the fully qualified name of the client that sent the
request.
The default behavior of this method is to return getRemoteHost()
on the wrapped request object.
Returns the login of the user making this request, if the
user has been authenticated, or null
if the user
has not been authenticated.
The default behavior of this method is to return getRemoteUser()
on the wrapped request object.
The current value of the request object (a ServletRequest).
Return the wrapped request object.
Returns a
RequestDispatcher
object that acts
as a wrapper for the resource located at the given path.
Returns a
RequestDispatcher
object that acts as a wrapper for
the resource located at the given path.
The default behavior of this method is to return getRequestDispatcher(String path)
on the wrapped request object.
Returns the session ID specified by the client.
The default behavior of this method is to return getRequestedSessionId()
on the wrapped request object.
Returns the part of this request's URL from the protocol
name up to the query string in the first line of the HTTP request.
The default behavior of this method is to return getRequestURI()
on the wrapped request object.
Reconstructs the URL the client used to make the request.
The default behavior of this method is to return getRequestURL()
on the wrapped request object.
Reconstructs the URL the client used to make the request,
using information in the HttpServletRequest
object.
A string describing the required version of the JSP container.
Returns a URL to the resource that is mapped to a specified
path.
Returns the resource located at the named path as
an InputStream
object.
Returns a directory-like listing of all the paths to resources within the web application whose longest sub-path
matches the supplied path argument.
The current value of the response object (a ServletResponse).
Return the wrapped ServletResponse object.
Returns the exception that caused this JSP exception.
Returns the exception that caused this servlet exception.
Returns the name of the scheme used to make this request,
for example,
http
, https
, or ftp
.
The default behavior of this method is to return getScheme()
on the wrapped request object.
The body of the <scope> element
Returns true
if the browser is sending cookies
only over a secure protocol, or false
if the
browser can send cookies using any protocol.
Returns the name and version of the servlet container on which
the servlet is running.
Returns the host name of the server that received the request.
The default behavior of this method is to return getServerName()
on the wrapped request object.
Returns the port number on which this request was received.
The default behavior of this method is to return getServerPort()
on the wrapped request object.
The ServletConfig instance.
Returns a
ServletConfig
object, which contains
initialization and startup parameters for this servlet.
Returns a reference to the
ServletContext
in which the caller
is executing.
Returns a reference to the
ServletContext
in which this servlet
is running.
Returns the ServletContext to which this session belongs.
The ServletContext instance.
Returns a reference to the
ServletContext
in which the caller
is executing.
Return the ServletContext that changed.
Returns the name of this web application correponding to this ServletContext as specified in the deployment
descriptor for this web application by the display-name element.
Returns information about the servlet, such as
author, version, and copyright.
Returns information about the servlet, such
as author, version, and copyright.
Returns the name of this servlet instance.
Returns the name of this servlet instance.
Returns the part of this request's URL that calls
the servlet.
The default behavior of this method is to return getServletPath()
on the wrapped request object.
Returns the current session associated with this request,
or if the request does not have a session, creates one.
The default behavior of this method is to return getSession()
on the wrapped request object.
Return the session that changed.
Return the session that changed.
The current value of the session object (an HttpSession).
Returns the current HttpSession
associated with this request or, if if there is no
current session and create
is true, returns
a new session.
The default behavior of this method is to return getSession(boolean create)
on the wrapped request object.
The preferred short name (prefix) as indicated in the TLD.
Get the path to the small icon
Return the version number of the JSP specification that is supported by
this JSP engine.
Return the value of the BodyContent as a String.
Get the TagInfo for a given tag name, looking through all the
tags in this tag library.
Name of the class that provides the handler for this tag.
The instance (if any) for extra tag information
Get the TagInfo for this class.
The instance of TabLibraryInfo we belong to.
An array describing the tags that are defined in this tag library.
Get TagVariableInfo objects associated with this TagInfo
The type (as a String) of this attribute.
Returns the number of seconds the servlet expects to
be temporarily unavailable.
The value of the uri attribute from the <%@ taglib directive for this library.
Returns a java.security.Principal
object containing
the name of the current authenticated user.
The default behavior of this method is to return getUserPrincipal()
on the wrapped request object.
Returns the value of the cookie.
Returns the value of the attribute that has been added, removed or replaced.
Returns the value of the attribute that has been added removed or replaced.
Get a the value associated with a key.
Enumerate the values kept by this tag handler.
information on scripting variables defined by the tag associated with
this TagExtraInfo instance.
Information on the scripting objects created by this tag at runtime.
Returns the version of the protocol this cookie complies
with.
Returns a PrintWriter
object that
can send character text to the client.
The default behavior of this method is to return getWriter()
on the wrapped response object.
Name used to store the Servlet in this PageContext's nametables.
Page scope: (this is the default) the named reference remains available
in this PageContext until the return from the current Servlet.service()
invocation.
A PageContext instance provides access to all the namespaces associated
with a JSP page, provides access to several page attributes, as well as
a layer above the implementation details.
Name used to store this PageContext in it's own name table.
Translation-time information on a JSP page.
Parses data from an HTML form that the client sends to
the server using the HTTP POST method and the
application/x-www-form-urlencoded MIME type.
Parses a query string passed from the client to the
server and builds a HashTable
object
with key-value pairs.
Return the previous JspWriter "out" saved by the matching
pushBody(), and update the value of the "out" attribute in
the page scope attribute namespace of the PageConxtext
Writes a boolean
value to the client,
with no carriage return-line feed (CRLF)
character at the end.
Writes a character to the client,
with no carriage return-line feed (CRLF)
at the end.
Print a double-precision floating-point number.
Writes a double
value to the client,
with no carriage return-line feed (CRLF) at the end.
Print a floating-point number.
Writes a float
value to the client,
with no carriage return-line feed (CRLF) at the end.
Writes an int to the client,
with no carriage return-line feed (CRLF)
at the end.
Writes a String
to the client,
without a carriage return-line feed (CRLF)
character at the end.
Writes a long
value to the client,
with no carriage return-line feed (CRLF) at the end.
Print an array of characters.
Terminate the current line by writing the line separator string.
Writes a carriage return-line feed (CRLF)
to the client.
Print a boolean value and then terminate the line.
Writes a boolean
value to the client,
followed by a
carriage return-line feed (CRLF).
Print a character and then terminate the line.
Writes a character to the client, followed by a carriage
return-line feed (CRLF).
Print a double-precision floating-point number and then terminate the
line.
Writes a double
value to the client,
followed by a carriage return-line feed (CRLF).
Print a floating-point number and then terminate the line.
Writes a float
value to the client,
followed by a carriage return-line feed (CRLF).
Print an integer and then terminate the line.
Writes an int to the client, followed by a
carriage return-line feed (CRLF) character.
Print an Object and then terminate the line.
Print a String and then terminate the line.
Writes a String
to the client,
followed by a carriage return-line feed (CRLF).
Print a long integer and then terminate the line.
Writes a long
value to the client, followed by a
carriage return-line feed (CRLF).
Print an array of characters and then terminate the line.
Return a new BodyContent object, save the current "out" JspWriter,
and update the value of the "out" attribute in the page scope
attribute namespace of the PageContext
Status code (202) indicating that a request was accepted for
processing, but was not completed.
Status code (502) indicating that the HTTP server received an
invalid response from a server it consulted when acting as a
proxy or gateway.
Status code (400) indicating the request sent by the client was
syntactically incorrect.
Status code (409) indicating that the request could not be
completed due to a conflict with the current state of the
resource.
Status code (100) indicating the client can continue.
Status code (201) indicating the request succeeded and created
a new resource on the server.
Status code (417) indicating that the server could not meet the
expectation given in the Expect request header.
Status code (403) indicating the server understood the request
but refused to fulfill it.
Status code (504) indicating that the server did not receive
a timely response from the upstream server while acting as
a gateway or proxy.
Status code (410) indicating that the resource is no longer
available at the server and no forwarding address is known.
Status code (505) indicating that the server does not support
or refuses to support the HTTP protocol version that was used
in the request message.
Status code (500) indicating an error inside the HTTP server
which prevented it from fulfilling the request.
Status code (411) indicating that the request cannot be handled
without a defined Content-Length
.
Status code (405) indicating that the method specified in the
Request-Line
is not allowed for the resource
identified by the Request-URI
.
Status code (301) indicating that the resource has permanently
moved to a new location, and that future references should use a
new URI with their requests.
Status code (302) indicating that the resource has temporarily
moved to another location, but that future references should
still use the original URI to access the resource.
Status code (300) indicating that the requested resource
corresponds to any one of a set of representations, each with
its own specific location.
Status code (204) indicating that the request succeeded but that
there was no new information to return.
Status code (203) indicating that the meta information presented
by the client did not originate from the server.
Status code (406) indicating that the resource identified by the
request is only capable of generating response entities which have
content characteristics not acceptable according to the accept
headerssent in the request.
Status code (404) indicating that the requested resource is not
available.
Status code (501) indicating the HTTP server does not support
the functionality needed to fulfill the request.
Status code (304) indicating that a conditional GET operation
found that the resource was available and not modified.
Status code (200) indicating the request succeeded normally.
Status code (206) indicating that the server has fulfilled
the partial GET request for the resource.
Status code (402) reserved for future use.
Status code (412) indicating that the precondition given in one
or more of the request-header fields evaluated to false when it
was tested on the server.
Status code (407) indicating that the client MUST first
authenticate itself with the proxy.
Status code (413) indicating that the server is refusing to process
the request because the request entity is larger than the server is
willing or able to process.
Status code (408) indicating that the client did not produce a
requestwithin the time that the server was prepared to wait.
Status code (414) indicating that the server is refusing to service
the request because the Request-URI
is longer
than the server is willing to interpret.
Status code (416) indicating that the server cannot serve the
requested byte range.
Status code (205) indicating that the agent SHOULD reset
the document view which caused the request to be sent.
Status code (303) indicating that the response to the request
can be found under a different URI.
Status code (503) indicating that the HTTP server is
temporarily overloaded, and unable to handle the request.
Status code (101) indicating the server is switching protocols
according to Upgrade header.
Status code (307) indicating that the requested resource
resides temporarily under a different URI.
Status code (401) indicating that the request requires HTTP
authentication.
Status code (415) indicating that the server is refusing to service
the request because the entity of the request is in a format not
supported by the requested resource for the requested method.
Status code (305) indicating that the requested resource
MUST be accessed through the proxy given by the
Location
field.
Sends an error response to the client using the specified status
code and clearing the buffer.
The default behavior of this method is to call sendError(int sc)
on the wrapped response object.
Sends an error response to the client using the specified
status clearing the buffer.
The default behavior of this method is to call sendError(int sc, String msg)
on the wrapped response object.
Sends a temporary redirect response to the client using the
specified redirect location URL.
The default behavior of this method is to return sendRedirect(String location)
on the wrapped response object.
Receives standard HTTP requests from the public
service
method and dispatches
them to the do
XXX methods defined in
this class.
Called by the servlet container to allow the servlet to respond to
a request.
Dispatches client requests to the protected
service
method.
Called by the servlet container to allow the servlet to respond to
a request.
Defines methods that all servlets must implement.
A servlet configuration object used by a servlet container
used to pass information to a servlet during initialization.
Defines a set of methods that a servlet uses to communicate with its
servlet container, for example, to get the MIME type of a file, dispatch
requests, or write to a log file.
This is the event class for notifications about changes to the attributes of the
servlet context of a web application.
Construct a ServletContextAttributeEvent from the given context for the
given attribute name and attribute value.
Implementations of this interface recieve notifications of
changes to the attribute list on the servlet context of a web application.
This is the event class for notifications about changes to the servlet context of a web application.
Construct a ServletContextEvent from the given context.
Implementations of this interface recieve notifications about changes to the servlet context of the web application they are part of.
Defines a general exception a servlet can throw when it
encounters difficulty.
Constructs a new servlet exception.
Constructs a new servlet exception with the
specified message.
Constructs a new servlet exception when the servlet
needs to throw an exception and include a message
about the "root cause" exception that interfered with its
normal operation, including a description message.
Constructs a new servlet exception when the servlet
needs to throw an exception and include a message
about the "root cause" exception that interfered with its
normal operation.
Provides an input stream for reading binary data from a client
request, including an efficient readLine
method
for reading data one line at a time.
Does nothing, because this is an abstract class.
Provides an output stream for sending binary data to the
client.
Does nothing, because this is an abstract class.
Defines an object to provide client request information to a servlet.
Provides a convenient implementation of the ServletRequest interface that
can be subclassed by developers wishing to adapt the request to a Servlet.
Creates a ServletRequest adaptor wrapping the given request object.
Defines an object to assist a servlet in sending a response to the client.
Provides a convenient implementation of the ServletResponse interface that
can be subclassed by developers wishing to adapt the response from a Servlet.
Creates a ServletResponse adaptor wrapping the given response object.
Name used to store HttpSession in PageContext name table.
Session scope (only valid if this page participates in a session):
the named reference remains available from the HttpSession (if any)
associated with the Servlet until the HttpSession is invalidated.
Notification that a session was created.
Notification that a session was invalidated.
Notification that the session has just been activated.
Notification that the session is about to be passivated.
Binds an object to this session, using the name specified.
Register the name and object specified with page scope semantics.
Binds an object to a given attribute name in this servlet context.
Stores an attribute in this request.
The default behavior of this method is to return setAttribute(String name, Object o)
on the wrapped request object.
Set the value of an attribute.
register the name and object specified with appropriate scope semantics
Set the bodyContent property.
Prepare for evaluation of the body: stash the bodyContent away.
Sets the preferred buffer size for the body of the response.
The default behavior of this method is to call setBufferSize(int size)
on the wrapped response object.
Overrides the name of the character encoding used in the body of this
request.
The default behavior of this method is to set the character encoding
on the wrapped request object.
Specifies a comment that describes a cookie's purpose.
Sets the length of the content body in the response
In HTTP servlets, this method sets the HTTP Content-Length header.
The default behavior of this method is to call setContentLength(int len)
on the wrapped response object.
Sets the content type of the response being sent to
the client.
The default behavior of this method is to call setContentType(String type)
on the wrapped response object.
Sets a response header with the given name and
date-value.
The default behavior of this method is to call setDateHeader(String name, long date)
on the wrapped response object.
set the default factory for this implementation.
Specifies the domain within which this cookie should be presented.
Sets a response header with the given name and value.
The default behavior of this method is to return setHeader(String name, String value)
on the wrapped response object.
Set the id attribute for this tag.
Set the init data in the TLD for this validator.
Sets a response header with the given name and
integer value.
The default behavior of this method is to call setIntHeader(String name, int value)
on the wrapped response object.
Sets the locale of the response, setting the headers (including the
Content-Type's charset) as appropriate.
The default behavior of this method is to call setLocale(Locale loc)
on the wrapped response object.
Sets the maximum age of the cookie in seconds.
Specifies the time, in seconds, between client requests before the
servlet container will invalidate this session.
Set the current page context.
Set the parent (closest enclosing tag handler) of this tag handler.
Set the nesting tag of this tag.
Specifies a path for the cookie
to which the client should return the cookie.
Sets the request object being wrapped.
Sets the response being wrapped.
Indicates to the browser whether the cookie should only be sent
using a secure protocol, such as HTTPS or SSL.
Sets the status code for this response.
The default behavior of this method is to call setStatus(int sc)
on the wrapped response object.
The default behavior of this method is to call setStatus(int sc, String sm)
on the wrapped response object.
Set the instance for extra tag information
Set the TagInfo for this class.
Set the TagLibraryInfo property.
Assigns a new value to a cookie after the cookie is created.
Associate a value with a String key.
Sets the version of the cookie protocol this cookie complies
with.
Ensures that servlets handle
only one request at a time.
SKIP_BODY - static field in class javax.servlet.jsp.tagext.
Tag Skip body evaluation.
SKIP_PAGE - static field in class javax.servlet.jsp.tagext.
Tag Skip the rest of the page.