code: public static boolean getBoolean(String name, boolean def) {
          String v = getString(name);
         
          if (v != null) {
              return Boolean.parseBoolean(v);
          }
          return def;
      }
docs: Returns {@code true} if the system property
  named by the argument exists and is equal to the string
  {@code "true"}, or a default value. If the system property does not exist, return
  {@code "true"} if a property by this name exists in the {@link ServletContext}
  and is equal to the string {@code "true"}. If that property does not
  exist either, return the default value.
  
  This behaves just like {@link Boolean#getBoolean(java.lang.String)} with a default
  value, except that it also consults the {@link ServletContext}'s "init" parameters.
  
  @param   name   the system property name.
  @param   def   a default value.
  @return  the {@code boolean} value of the system property.