-
Deprecated MethodsMethodDescriptionAs of version 2.1, use
HttpServletResponseWrapper.encodeRedirectURL(String url)
insteadAs of version 2.1, useHttpServletResponseWrapper.encodeURL(String url)
insteadAs of version 2.1, due to ambiguous meaning of the message parameter. To set a status code useHttpServletResponseWrapper.setStatus(int)
, to send an error with a description useHttpServletResponseWrapper.sendError(int, String)
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.As of Version 2.2, this method is replaced byHttpSession.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.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.