0
I have a table populated with <c:foreach>
and in one of the columns I have a 'CHANGE' click on it and load the information of what I want to change on another page. Already on the other page, the information I wanted to popular my select option according to the information you brought via ID.
EX: in my carregaModal
below I bring only 2 things 'Defensive' and 'Aggressive' I wanted to already load with one or the other when page load.
${carregaModal.caracteristica
HTML
<div class="form-group">
<label>Característica</label>
<div>
<select name="caracteristica" class="form-control">
<option>Defensivo</option>
<option>Agressivo</option>
</select>
</div>
</div>