Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Deprecated API

Deprecated Interfaces
javax.servlet.SingleThreadModel
          As of Java Servlet API 2.4, with no direct replacement. 
 

Deprecated Methods
javax.servlet.ServletRequest.getRealPath(String)
          As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(java.lang.String) 55 instead. 
javax.servlet.UnavailableException.getServlet()
          As of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability. 
javax.servlet.ServletContext.getServlet(String)
          As of Java Servlet API 2.1, with no direct replacement.

This method was originally defined to retrieve a servlet from a ServletContext. In this version, this method always returns null and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

In lieu of this method, servlets can share information using the ServletContext class and can perform shared business logic by invoking methods on common non-servlet classes. 

javax.servlet.ServletContext.getServletNames()
          As of Java Servlet API 2.1, with no replacement.

This method was originally defined to return an Enumeration of all the servlet names known to this context. In this version, this method always returns an empty Enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API. 

javax.servlet.ServletContext.getServlets()
          As of Java Servlet API 2.0, with no replacement.

This method was originally defined to return an Enumeration of all the servlets known to this servlet context. In this version, this method always returns an empty enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API. 

javax.servlet.ServletContext.log(Exception, String)
          As of Java Servlet API 2.1, use ServletContext.log(String message, Throwable throwable) 55 instead.

This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file. 

 

Deprecated Constructors
javax.servlet.UnavailableException(int, Servlet, String)
          As of Java Servlet API 2.2, use UnavailableException.UnavailableException(String, int) 55 instead. 
javax.servlet.UnavailableException(Servlet, String)
          As of Java Servlet API 2.2, use UnavailableException.UnavailableException(String) 55 instead.