I want to create a select box with the values 1 thru 100 how can i do that? What i have is: But that is not working. Any idea ? Thanks ! <html:select property="selectBox" styleClass="content">
<% for(int i=0;i<999;i++){ %> <html:option value="<%=i%>"><%=i%></html:option> <%}%> </html:select>