getAttributes().put("value", getValue());
getAttributes().put("value", format(getValue()));
    public int doEndInputTag() throws JspException {        if (this.repopulate) {            // If repopulate is set, delegate to the parent input text tag            return super.doEndInputTag();        }        else {            // Else just figure out if there is a default value and use it            String body     = getBodyContentAsString();            // Figure out where to pull the value from            if (body != null) {                getAttributes().put("value", body);            }            else if (getValue() != null) {                getAttributes().put("value", getValue());            }            writeSingletonTag(getPageContext().getOut(), "input");            // Restore the original state before we mucked with it            getAttributes().remove("value");            return EVAL_PAGE;        }    }