All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface Acme.Serve.servlet.ServletConfig

public interface ServletConfig
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.

This is taken from JavaSoft's Servlet API documentation.

Fetch the software.
Fetch the entire Acme package.

See Also:
Servlet

Method Index

 o getInitParameter(String)
Gets an initialization parameter of the servlet.
 o getInitParameterNames()
Gets the names of the initialization parameters of 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 getInitParameterNames
 public abstract Enumeration getInitParameterNames()
Gets the names of the initialization parameters of the servlet.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs