src/main/java/js/servlet/ContextParamProcessor.java
private void setField(Field field, String parameterName, Object instance) {
		final Object value = context.getProperty(parameterName, field.getType());
		try {
			field.set(instance, value);
		} catch (Exception e) {
			throw new BugError(e);
		}
	}
private void setField(Field field, String parameterName, Object instance) {
		final Object value = context.getProperty(parameterName, field.getType());
		try {
			field.set(instance, value);
		} catch (Exception e) {
			throw new BugError(e);
		}
	}
Initialize field from named context parameter.

@param field field to be initialized, both class and instance fields accepted,
@param parameterName name for context parameter,
@param instance optional instance, null for class fields.