스크립틀릿을 추가한다.
<c:set var= "option" value =" ${ getDDLHakgiRegion}"/> <% List<HashMap<String, String>> options = (List<HashMap<String, String>>)pageContext.getAttribute("option" );Collections.reverse(options);
pageContext.setAttribute("option,options);%> <select id ="select-time-term" > <option >학기 </option > < c:forEach var= "row" items=" ${option}"> <option value=" ${row.MST_VAL}"> <c:out value =" ${row.MST_SMPL_NM}" /></option > </ c:forEach> </select >
댓글 없음:
댓글 쓰기