Sunday, 26 June 2016

How to retrieve a servlet initialization parameter ?


Methods of ServletConfig interface
  • public String getInitParameter(String)returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
     
  • public Enumeration getInitParameterNames()returns the names of the servlet’s initialization parameters as an Enumeration of String objects.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.