<select name="showYears">
<#list payrollYears as year>
<option value="${year.year}">${year.yeardesc}</option>
</#list>
</select>
i am getting payrollyears list from my controller and i am iterating the list in freemarker and adding value to select box i want my last value of list should be selected value in last how can i do that