ServletConfig
Learn ServletConfig (Servlet Integration, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes ServletConfig holds the configuration of ONE servlet: its name, its init parameters and a reference to the ServletContext . Passed to init() by the container; GenericServlet stores it so you can call getInitParameter . Per servlet : unlike ServletContext (one per application), every servlet declaration gets its own ServletConfig.