var hshy= $("#hshy").val(); <select name="hshy" id="hshy"> <option value="">--</option> <c:forEach var="hshy" items="${hshyList}"> <option value="${hshy.itemValue}" ${orgYear.hshy == hshy.itemValue ? "selected" : ""}>${hshy.itemText}</option> </c:forEach> </select>