Mega Code Archive

 
Categories / Java Tutorial / JSP
 

Using the for Statement

< HTML>   <HEAD>     <TITLE>Using the if Statement</TITLE>   </HEAD>   <BODY>     <H1>Using the if Statement</H1>     <%         int loopIndex;         for (loopIndex = 1; loopIndex <= 10; loopIndex++) {             out.println("This is iteration number "                 + loopIndex + "<BR>");         }     %>   </BODY> </HTML>