In HTML we can write
<select name="..." value"...">
<optgroup label="Category 1">
<option ... />
<option ... />
</optgroup>
<optgroup label="Category 2">
<option ... />
<option ... />
</optgroup>
</select>
In Spring <form> tags, how can we write thing like to group items.
Unfortunately, currently spring mvc is not offering such functionality through its tags. This can be achieved through a nice logic given here.