World's most popular travel blog for travel bloggers.

Ques : What is ServletConfig Interface

, , No Comments
An object of ServletConfig is created by the servlet container for each servlet. This object is used to pass configuration related information to a servlet during start up. The getServletConfig() method is used to return the object of ServletConfig. It contains name/value pairs of initialization parameters for the servlet. It defines four methods such as getServletContext(), getServletName(), getInitParameter() and getInitParameterNames() for accessing this information.

0 comments:

Post a Comment

Let us know your responses and feedback