With this drop down I'll select a value and pass in a url, but with this code i'm not able to get only the selected one, can you guys help me to setup a c:if and mark selected on the side?. Thanks anyway.
<select>
<c:forEach var="foo" items="${bar}">
<option value="${foo}">${foo}</option>
</c:forEach></select>
<div class="links" style="font-size: 110%">
<a href="someURL?path=${foo}">someName</a>
</div>
Ex:
<select>
<c:forEach var="name" items="${names}">
<option value="${name}">${name}</option>
</c:forEach></select>
After i select the name, place the selected one in the url
<div class="links" style="font-size: 110%">
<a href="someURL?path=${name}">someName</a>
</div>
Sorry, my english isn't that good so it's hard sometimes to express myself