É bem simples: faça o loop e use o atributo ‘count’ para dar um ID para seu INPUT , colocando o mesmo ID no FOR.
<logic:iterate id=”item” property=”items” indexId=”count”>
<label for=”xx<bean:write name=’count’/>”>
<html:multibox property=”item” styleId=”<%=”xx”+count%>”>
<bean:write name=”item” property=”value”/>
</html:multibox>
<bean:write name=”item” property=”label”/>
</label>
</logic:iterate>
Achei nos comentários aqui: http://www.beernut.ca/jim/archives/002408.html