## Uses of Interface
javax.servlet.ServletConfig

- Packages that use ServletConfig
  Package | Description
  --- | ---
  javax.faces.webapp | Classes required for integration of JavaServer Faces into web applications, including a standard servlet, base classes for JSP custom component tags, and concrete tag implementations for core tags.
  javax.servlet | The javax.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
  javax.servlet.http | The javax.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.
  javax.servlet.jsp | Classes and interfaces for the Core JSP 2.3 API.

- - ### Uses of ServletConfig in javax.faces.webapp

    Methods in javax.faces.webapp that return ServletConfig
    Modifier and Type | Method and Description
    --- | ---
    `ServletConfig` | FacesServlet.`getServletConfig()` Return the `ServletConfig` instance for this servlet.

    Methods in javax.faces.webapp with parameters of type ServletConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | FacesServlet.`init(ServletConfig servletConfig)` Acquire the factory instances we will require.

  - ### Uses of ServletConfig in javax.servlet

    Classes in javax.servlet that implement ServletConfig
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GenericServlet` Defines a generic, protocol-independent servlet.

    Methods in javax.servlet that return ServletConfig
    Modifier and Type | Method and Description
    --- | ---
    `ServletConfig` | Servlet.`getServletConfig()` Returns a `ServletConfig` object, which contains initialization and startup parameters for this servlet.
    `ServletConfig` | GenericServlet.`getServletConfig()` Returns this servlet's `ServletConfig` object.

    Methods in javax.servlet with parameters of type ServletConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | Servlet.`init(ServletConfig config)` Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
    `void` | GenericServlet.`init(ServletConfig config)` Called by the servlet container to indicate to a servlet that the servlet is being placed into service.

  - ### Uses of ServletConfig in javax.servlet.http

    Classes in javax.servlet.http that implement ServletConfig
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpServlet` Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.

  - ### Uses of ServletConfig in javax.servlet.jsp

    Methods in javax.servlet.jsp that return ServletConfig
    Modifier and Type | Method and Description
    --- | ---
    `abstract ServletConfig` | PageContext.`getServletConfig()` The ServletConfig instance.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.