org.apache.struts2

## Class JSPServletConfig

- java.lang.Object
- - org.apache.struts2.JSPServletConfig

- All Implemented Interfaces:
    javax.servlet.ServletConfig

      public class JSPServletConfig
      extends Object
      implements javax.servlet.ServletConfig

  Used to init the servlets for the jsps

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JSPServletConfig(javax.servlet.ServletContext servletContext)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getInitParameter(String name)`
    `Enumeration` | `getInitParameterNames()`
    `javax.servlet.ServletContext` | `getServletContext()`
    `String` | `getServletName()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JSPServletConfig

          public JSPServletConfig(javax.servlet.ServletContext servletContext)

  - ### Method Detail

    - #### getInitParameter

          public String getInitParameter(String name)

      Specified by:
        `getInitParameter` in interface `javax.servlet.ServletConfig`

    - #### getInitParameterNames

          public Enumeration getInitParameterNames()

      Specified by:
        `getInitParameterNames` in interface `javax.servlet.ServletConfig`

    - #### getServletContext

          public javax.servlet.ServletContext getServletContext()

      Specified by:
        `getServletContext` in interface `javax.servlet.ServletConfig`

    - #### getServletName

          public String getServletName()

      Specified by:
        `getServletName` in interface `javax.servlet.ServletConfig`

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.