1.0 1.2 form http://www.springframework.org/tags/form Spring Framework JSP Form Tag Library form org.springframework.web.servlet.tags.form.FormTag JSP Renders an HTML 'form' tag and exposes a binding path to inner tags for binding. id false true HTML Standard Attribute name false true HTML Standard Attribute - added for backwards compatibility cases htmlEscape false true Enable/disable HTML escaping of rendered values. cssClass false true Equivalent to "class" - HTML Optional Attribute cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute commandName false true Name of the attribute under which the command name is exposed. Defaults to 'command'. action false true HTML Required Attribute method false true HTML Optional Attribute enctype false true HTML Optional Attribute onsubmit false true HTML Event Attribute onreset false true HTML Event Attribute input org.springframework.web.servlet.tags.form.InputTag empty Renders an HTML 'input' tag with type 'text' using the bound value. path true true Path to property for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. cssClass false true Equivalent to "class" - HTML Optional Attribute cssErrorClass false true Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute readonly false true HTML Optional Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute onfocus false true HTML Event Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute accesskey false true HTML Standard Attribute maxlength false true HTML Optional Attribute alt false true HTML Optional Attribute onselect false true HTML Event Attribute size false true HTML Optional Attribute password org.springframework.web.servlet.tags.form.PasswordInputTag empty Renders an HTML 'input' tag with type 'password' using the bound value. path true true Path to property for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. cssClass false true Equivalent to "class" - HTML Optional Attribute cssErrorClass false true Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute readonly false true HTML Optional Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute onfocus false true HTML Event Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute accesskey false true HTML Standard Attribute maxlength false true HTML Optional Attribute alt false true HTML Optional Attribute onselect false true HTML Event Attribute size false true HTML Optional Attribute showPassword false true Is the password value to be shown? Defaults to false. hidden org.springframework.web.servlet.tags.form.HiddenInputTag empty Renders an HTML 'input' tag with type 'hidden' using the bound value. path true true Path to property for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. select org.springframework.web.servlet.tags.form.SelectTag JSP Renders an HTML 'select' element. Supports databinding to the selected option. path true true Path to property for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. cssClass false true Equivalent to "class" - HTML Optional Attribute cssErrorClass false true Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute onfocus false true HTML Event Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute accesskey false true HTML Standard Attribute items false true The Collection, Map or array of objects used to generate the inner 'option' tags itemValue false true Name of the property mapped to 'value' attribute of the 'option' tag itemLabel false true Name of the property mapped to the inner text of the 'option' tag size false true HTML Optional Attribute multiple false true HTML Optional Attribute option org.springframework.web.servlet.tags.form.OptionTag JSP Renders a single HTML 'option'. Sets 'selected' as appropriate based on bound value. value java.lang.Object The actual value bound to the 'value' attribute displayValue java.lang.String The String representation of thr value bound to the 'value' attribute, taking into consideration any PropertyEditor associated with the enclosing 'select' tag. value true true HTML Optional Attribute label false true HTML Optional Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. options org.springframework.web.servlet.tags.form.OptionsTag empty Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value. items true true The Collection, Map or array of objects used to generate the inner 'option' tags itemValue false true Name of the property mapped to 'value' attribute of the 'option' tag itemLabel false true Name of the property mapped to the inner text of the 'option' tag htmlEscape false true Enable/disable HTML escaping of rendered values. radiobutton org.springframework.web.servlet.tags.form.RadioButtonTag empty Renders an HTML 'input' tag with type 'radio'. path true true Path to property for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. cssClass false true Equivalent to "class" - HTML Optional Attribute cssErrorClass false true Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute onfocus false true HTML Event Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute accesskey false true HTML Standard Attribute value false true HTML Optional Attribute checkbox org.springframework.web.servlet.tags.form.CheckboxTag empty Renders an HTML 'input' tag with type 'checkbox'. path true true Path to property for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. cssClass false true Equivalent to "class" - HTML Optional Attribute cssErrorClass false true Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute onfocus false true HTML Event Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute accesskey false true HTML Standard Attribute value false true HTML Optional Attribute textarea org.springframework.web.servlet.tags.form.TextareaTag empty Renders an HTML 'textarea'. path true true Path to property for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. cssClass false true Equivalent to "class" - HTML Optional Attribute cssErrorClass false true Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute onfocus false true HTML Event Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute accesskey false true HTML Standard Attribute rows false true HTML Required Attribute cols false true HTML Required Attribute onselect false true HTML Event Attribute errors org.springframework.web.servlet.tags.form.ErrorsTag JSP Renders field errors in an HTML 'span' tag. messages java.util.List path false true Path to errors object for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. delimiter false true Delimiter for displaying multiple error messages. Defaults to the br tag. cssClass false true Equivalent to "class" - HTML Optional Attribute cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute element false true Specifies the HTML element that is used to render the enclosing errors. label org.springframework.web.servlet.tags.form.LabelTag JSP Renders a form field label in an HTML 'label' tag. path true true Path to errors object for data binding id false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. for false true HTML Standard Attribute cssClass false true Equivalent to "class" - HTML Optional Attribute. cssErrorClass false true Equivalent to "class" - HTML Optional Attribute. Used only when errors are present. cssStyle false true Equivalent to "style" - HTML Optional Attribute lang false true HTML Standard Attribute title false true HTML Standard Attribute dir false true HTML Standard Attribute tabindex false true HTML Standard Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onmousedown false true HTML Event Attribute onmouseup false true HTML Event Attribute onmouseover false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onkeydown false true HTML Event Attribute