Two objects have the method getInitParameter. ServletConfig and
Servlet. Which one you use depends on where you placed the parameter in the web.xml.
If it is within the servlet tags, you use the method on Servlet. This is useful for parameters that are specific to a single Servlet/JSP and have no meaning to other parts of the system.
If it defined within the context-param, you use the ServletConfig object and it is available to all the servlets and
jsp within your application.