| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: aString containing the value of the initialization parameter, or null if the
initialization parameter does not existthe name of the initialization parameter whose value to get name)Gets the value of the initialization parameter with the given name. |
| public Enumeration | Returns: anEnumeration of String objects containing the names of the servlet's
initialization parametersReturns the names of the servlet's initialization parameters as an |
| public ServletContext | Returns: aServletContext object, used by the caller to interact with its servlet containerReturns a reference to the |
| public String |
| getInitParameter | back to summary |
|---|---|
| public String getInitParameter(String name) Gets the value of the initialization parameter with the given name. | |
| getInitParameterNames | back to summary |
|---|---|
| public Enumeration Returns the names of the servlet's initialization parameters as an
| |
| getServletContext | back to summary |
|---|---|
| public ServletContext getServletContext() Returns a reference to the
| |
| getServletName | back to summary |
|---|---|
| public String getServletName() Returns the name of this servlet instance. The name may be provided via server administration, assigned in the web application deployment descriptor, or for an unregistered (and thus unnamed) servlet instance it will be the servlet's class name.
| |