bindNullValue(bean, name, OgnlUtil.getPropertyClass(name, bean));
Class type = OgnlUtil.getPropertyClass(name, bean); if (type != null) { bindNullValue(bean, name, OgnlUtil.getPropertyClass(name, bean)); }
    protected void bindMissingValuesAsNull(ActionBean bean, ActionBeanContext context) {        HttpServletRequest request = context.getRequest();        Set<String> paramatersSubmitted = request.getParameterMap().keySet();        for (String name: getFieldsPresentInfo(bean)) {            if (!paramatersSubmitted.contains(name)) {                try {                    bindNullValue(bean, name, OgnlUtil.getPropertyClass(name, bean));                }                catch (Exception e) {                    log.warn(e, "Could not set property '", name, "' to null on ActionBean of",                             "type '", bean.getClass(), "'.");                }            }        }    }