<div class="body">
<selected name ="multSelectSkill" id="optgroup" class="ms" multiple="multiple">
<optgroup label="GRUPO 1">
<c:forEach items="${skillsOperador}" var="skillsOperador">
<option value="${skillsOperador.id}" selected="${skillsOperador.operadorSkill.statusSkill == 'Y'}>${skillsOperador.nome</option>
Is it possible to use the attribute in this way? Because it is not working; you are selecting all values. I need to select only the values that have statusSkill
equal to Y
;