code: public static String getInitParam(ServletContext context, String name, String deflt)
     {
        Assert.notNull(context, "Servlet context must not be null.");
        Assert.notNull(context, "Cookie name must not be null.");
  
        String value = context.getInitParameter(name);
  
        if (value == null)
        {
           value = deflt;
        }
  
        return value;
     }
docs: Retrieve the named context-parameter from the given {@link ServletContext}. If the parameter is not defined,
  return the default value instead.