No API in this release is deprecated for removal.
| Since | Deprecated Item and Description |
|---|---|
Returns: thejavax.servlet.Servlet Servlet with the given namethe servlet name name)As of Java Servlet API 2.1, with no direct replacement. This method was originally defined to retrieve a servlet
from a In lieu of this method, servlets can share information using the
| |
Returns: anEnumeration of javax.servlet.Servlet Servlet namesAs of Java Servlet API 2.1, with no replacement. This method was originally defined to return an
| |
Returns: anEnumeration of javax.servlet.Servlet ServletAs of Java Servlet API 2.0, with no replacement. This method was originally defined to return an
| |
javax.
the exception, String Exception errora msg)String that describes the exceptionAs of Java Servlet API 2.1, use
This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file. | |
Returns: the real path, or null if the translation cannot be performed.the path for which the real path is to be returned. path)As of Version 2.1 of the Java Servlet API,
use | |
javax.
the path for which the real path is to be returned. path)As of Version 2.1 of the Java Servlet API,
use | |
javax.
As of Java Servlet API 2.4, with no direct replacement. | |
javax.
the servlet, String Servlet instance that is
unavailablea msg)String specifying the
descriptive messageAs of Java Servlet API 2.2, use | |
javax.
an integer specifying the number of seconds
the servlet expects to be unavailable; if
zero or negative, indicates that the servlet
can't make an estimate seconds, Servlet the servlet, String Servlet that is unavailablea msg)String specifying the descriptive
message, which can be written to a log file or
displayed for the user.As of Java Servlet API 2.2, use | |
Returns: theServlet object that is
throwing the UnavailableExceptionAs of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability. | |
Returns: true if the session ID was conveyed to the
server as part of a URL; otherwise,
falseAs of Version 2.1 of the Java Servlet
API, use | |
javax.
As of Version 4.0 of the Java Servlet API,
use | |
Returns: the encoded URL if encoding is needed; the unchanged URL otherwise.the url to be encoded. url)As of version 2.1, use encodeRedirectURL(String url) instead | |
Returns: the encoded URL if encoding is needed; the unchanged URL otherwise.the url to be encoded. url)As of version 2.1, use encodeURL(String url) instead | |
javax.
the status code sc, String the status message sm)As of version 2.1, due to ambiguous meaning of the
message parameter. To set a status code
use | |
javax.
the url to be encoded. url)As of version 2.1, use
| |
javax.
the url to be encoded. url)As of version 2.1, use | |
javax.
the status code sc, String the status message sm)As of version 2.1, due to ambiguous meaning of the
message parameter. To set a status code
use | |
Returns: theHttpSessionContext for this session.As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API. | |
Returns: the object with the specified namea string specifying the name of the object name)As of Version 2.2, this method is
replaced by | |
Returns: an array ofString
objects specifying the
names of all the objects bound to
this sessionAs of Version 2.2, this method is
replaced by | |
javax.
the name to which the object is bound;
cannot be null name, Object the object to be bound; cannot be null value)As of Version 2.2, this method is
replaced by | |
javax.
the name of the object to
remove from this session name)As of Version 2.2, this method is
replaced by | |
javax.
As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API. | |
Returns: nullAs of Java Servlet API 2.1 with
no replacement. This method must return
an empty | |
Returns: null in all casesthe id of the session to be returned sessionId)As of Java Servlet API 2.1 with no replacement. This method must return null and will be removed in a future version of this API. | |
javax.
As of Java(tm) Servlet API 2.3. These methods were only useful with the default encoding and have been moved to the request interfaces. |