Deprecated API

Deprecated Interfaces
javax.servlet.http.HttpSessionContext
          The HttpSessionContext class has been deprecated for security reasons. It will be removed in a future version of the Servlet API. 
 

Deprecated Methods
javax.servlet.http.HttpServletResponse.encodeRedirectUrl(String)
          Use encodeRedirectURL(String url) 
javax.servlet.http.HttpServletResponse.encodeUrl(String)
          Use encodeURL(String url) 
javax.servlet.http.HttpSessionContext.getIds()
          This method has been deprecated for security reasons. It will be removed in a future version of the Servlet API. 
javax.servlet.ServletRequest.getRealPath(String)
          This method has been deprecated in preference to the same method found in the ServletContext interface. 
javax.servlet.ServletContext.getServlet(String)
          This method has been deprecated for servlet lifecycle reasons. This method will be permanently removed in a future version of the Servlet API. 
javax.servlet.ServletContext.getServletNames()
          This method has been deprecated for servlet lifecycle reasons. This method will be permanently removed in a future version of the Servlet API. 
javax.servlet.ServletContext.getServlets()
          This method has been deprecated for servlet lifecycle reasons. This method will be permanently removed in a future version of the Servlet API. 
javax.servlet.http.HttpSessionContext.getSession(String)
          This method has been deprecated for security reasons. It will be removed in a future version of the Servlet API. 
javax.servlet.http.HttpSession.getSessionContext()
            
javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl()
          use isRequestSessionIdFromURL() instead 
javax.servlet.ServletContext.log(Exception, String)
          Use log(String message, Throwable t) instead 
javax.servlet.http.HttpServletResponse.setStatus(int, String)
          ambiguous meaning. To send an error with a description page, use sendError(int sc, String msg);