|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletConfig
Whenever a server wants to pass initialization data to a servlet, it
creates a class which implements this interface.
The server then adds {String,String} pairs to the class, and the servlet
can read these using this interface.
Method Summary | |
---|---|
java.lang.String |
getInitParameter(java.lang.String name)
Get the value of this name's initparameter |
java.util.Enumeration |
getInitParameterNames()
Get all InitParameterNames |
ServletContext |
getServletContext()
Get the context of this ServletConfig |
java.lang.String |
getServletName()
XXX |
Method Detail |
---|
java.lang.String getInitParameter(java.lang.String name)
name
- the name of the Parameter whose value we want
java.util.Enumeration getInitParameterNames()
ServletContext getServletContext()
java.lang.String getServletName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |