Servlet and JavaServer Pages API Documentation: Uses of Interface javax.servlet.Servlet

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.servlet.Servlet

Packages that use Servlet
javax.servlet |
javax.servlet.http |
javax.servlet.jsp |

Uses of Servlet in javax.servlet

Classes in javax.servlet that implement Servlet
`class` | `GenericServlet` Defines a generic, protocol-independent servlet.

Methods in javax.servlet that return Servlet
`Servlet` | `UnavailableException.getServlet()` Deprecated. As of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability.
`Servlet` | `ServletContext.getServlet(java.lang.String name)` Deprecated. 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.

Constructors in javax.servlet with parameters of type Servlet
`UnavailableException(Servlet servlet, java.lang.String msg)` Deprecated. As of Java Servlet API 2.2, use `UnavailableException.UnavailableException(String)` instead.
`UnavailableException(int seconds, Servlet servlet, java.lang.String msg)` Deprecated. As of Java Servlet API 2.2, use `UnavailableException.UnavailableException(String, int)` instead.

Uses of Servlet in javax.servlet.http

Classes in javax.servlet.http that implement Servlet
`class` | `HttpServlet` Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.

Uses of Servlet in javax.servlet.jsp

Subinterfaces of Servlet in javax.servlet.jsp
`interface` | `HttpJspPage` This is the interface that a JSP processor-generated class for the HTTP protocol must satisfy.
`interface` | `JspPage` This is the interface that a JSP processor-generated class must satisfy.

Methods in javax.servlet.jsp with parameters of type Servlet
`abstract void` | `PageContext.initialize(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)` The initialize emthod is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response wihtin it's _jspService() method.
`abstract PageContext` | `JspFactory.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int buffer, boolean autoflush)` obtains an instance of an implementation dependent javax.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.