Interface java.servlet.ServletStub
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.servlet.ServletStub

public interface ServletStub
extends Object
This interface is used by the server to pass initialization information to a servlet when it is first loaded. It contains methods to get the context in which the servlet is running, as well as any initialization parameters that may have been being passed to the servlet at startup.

Method Index

 o getInitParameter(String)
Gets an initialization parameter of the servlet.
 o getInitParameters()
Returns a hashtable of initialization parameters for the servlet.
 o getServletContext()
Returns the context for the servlet.

Methods

 o getServletContext
  public abstract ServletContext getServletContext()
Returns the context for the servlet.
 o getInitParameter
  public abstract String getInitParameter(String name)
Gets an initialization parameter of the servlet.
Parameters:
name - the parameter name
 o getInitParameters
  public abstract Hashtable getInitParameters()
Returns a hashtable of initialization parameters for the servlet.

All Packages  Class Hierarchy  This Package  Previous  Next  Index