Uses of Interface
javax.servlet.ServletConfig
Packages that use ServletConfig
Package
Description
The jakarta.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.
The jakarta.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.
-
Uses of ServletConfig in javax.servlet
Classes in javax.servlet that implement ServletConfigModifier and TypeClassDescriptionclass
Defines a generic, protocol-independent servlet.Fields in javax.servlet declared as ServletConfigMethods in javax.servlet that return ServletConfigModifier and TypeMethodDescriptionGenericServlet.getServletConfig()
Returns this servlet'sServletConfig
object.Servlet.getServletConfig()
Returns aServletConfig
object, which contains initialization and startup parameters for this servlet.Methods in javax.servlet with parameters of type ServletConfigModifier and TypeMethodDescriptionvoid
GenericServlet.init
(ServletConfig config) Called by the servlet container to indicate to a servlet that the servlet is being placed into service.void
Servlet.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 ServletConfigModifier and TypeClassDescriptionclass
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.