
Hi guys please help me to write a very easy program using jsp to display value in combobox from 0 to 10. How to write the for loop? Please help.Thank!!!

<html>
<select>
<%
for(int i=0;i<=10;i++){
%>
<option value="<%=i%>"><%=i%></option>
<%
}
%>
</select>
</html>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
