Using the if Statement : Statements « JSP « Java
- Java
- JSP
- Statements
Using the if Statement
<HTML>
<HEAD>
<TITLE>Using the if Statement</TITLE>
</HEAD>
<BODY>
<H1>Using the if Statement</H1>
<%
int i;
for (i = 1; i <= 10; i++) {
out.println("This is iteration number "
+ i + "<BR>");
}
%>
</BODY>
</HTML>
Related examples in the same category