javax.servlet.ServletConfig
is used to pass configuration information to Servlet.Every servlet has it’s own ServletConfig object and servlet container is responsible for instantiating this object. We can provide servlet init parameters in web.xml file or through use of WebInitParam annotation. We can use getServletConfig() method to get the ServletConfig object of the servlet.JSP / Servlet - Interview
Saturday, 5 September 2015
What is ServletConfig object?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment