O'Reilly logo
  • Kuppusamy K thinks this is interesting:

  • getServletConfig. This method returns the ServletConfig passed by the servlet container to the init method. However, in order for getServletConfig to return a non-null value, you must have assigned the ServletConfig passed to the init method to a class level variable. ServletConfig is explained in the section “ServletConfig” in this chapter.

From

Cover of Servlet, JSP and Spring MVC: A Tutorial

Note

ServletConfig