integration-gwt/src/main/java/org/ocpsoft/rewrite/servlet/util/ContextUtil.java
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;
   }
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;
   }
Retrieve the named context-parameter from the given {@link ServletContext}. If the parameter is not defined,
return the default value instead.