The ServletConfig object is an object of javax.servlet.ServletConfig class and 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. The ServletConfig object is the one per servlet per web application.