I just have to increment values from 0 to 23 using <c:foreach> tag in select box. This is the code snippet
<html:select property="schStartTimeHH" styleClass="tableDataTextStyle1">
<c:forEach var="i" begin="0" end="23">
<html:option value ="<c:out value="${i}"/>"><c:out value="${i}"/></html:option>
</c:forEach>
</html:select>
the value of the option tag is hitting an error. Can any one suggest the correct format of it