-
Deprecated MethodsMethodDescriptionAs 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.As of Version 2.2, this method is replaced by
HttpSession.getAttribute(java.lang.String)
.As of Version 2.2, this method is replaced byHttpSession.getAttributeNames()
As of Version 2.2, this method is replaced byHttpSession.setAttribute(java.lang.String, java.lang.Object)
As of Version 2.2, this method is replaced byHttpSession.removeAttribute(java.lang.String)
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.As of Version 2.1 of the Java Servlet API, useServletContext.getRealPath(java.lang.String)
instead.
setStatus(int)
, to send an error with a description usesendError(int, String)
. Sets the status code and message for this response.