jstl 숫자포맷 JAVA



<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>


                  <select class="w50 form-control">

          <c:forEach var="time" begin="01" end="23" step="1">

        <option><fmt:formatNumber value="${time }" pattern="00" /></option>

</c:forEach>

      </select>

      <p class="display-in">:</p>

      <select class="w50 form-control">

          <c:forEach var="time" begin="00" end="59" step="5">

          <option><fmt:formatNumber value="${time }" pattern="00" /></option>

</c:forEach>

      </select>


덧글

댓글 입력 영역