Movatterモバイル変換


[0]ホーム

URL:


         


Interface ServletConfig

All Known Implementing Classes:
GenericServlet

public interfaceServletConfig

A servlet configuration object used by a servlet container used to pass information to a servlet during initialization.


getInitParameter(java.lang.String name)
          Returns aString containing the value of the named initialization parameter, ornull if the parameter does not exist.
getInitParameterNames()
          Returns the names of the servlet's initialization parameters as anEnumeration ofString objects, or an emptyEnumeration if the servlet has no initialization parameters.
getServletContext()
          Returns a reference to theServletContext in which the caller is executing.
getServletName()
          Returns the name of this servlet instance.
 

getServletName

public java.lang.StringgetServletName()
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.
Returns:
the name of the servlet instance

getServletContext

publicServletContextgetServletContext()
Returns a reference to theServletContext in which the caller is executing.
Returns:
aServletContext object, usedby the caller to interact with its servlet container
See Also:
ServletContext

getInitParameter

public java.lang.StringgetInitParameter(java.lang.String name)
Returns aString containing the value of the named initialization parameter, ornull if the parameter does not exist.
Parameters:
name - aString specifying the nameof the initialization parameter
Returns:
aString containing the value of the initialization parameter

getInitParameterNames

public java.util.EnumerationgetInitParameterNames()
Returns the names of the servlet's initialization parameters as anEnumeration ofString objects, or an emptyEnumeration if the servlet has no initialization parameters.
Returns:
anEnumeration ofString objects containing the names of the servlet's initialization parameters

         


[8]ページ先頭

©2009-2025 Movatter.jp