How to get selected value from <html:select>

344 Views Asked by At
<html:select property="branchCombo" value="" name="selectBranchId">
    <c:forEach var="record" items="${branchList}">
        <option value="${record.id}">
            ${record.code} - ${record.name}
        </option>
    </c:forEach>
</html:select>

How can I get id from selected value from <html:select>?

0

There are 0 best solutions below