Apr
30

Using Scriptlets and HTML in jsp

By admin  //  JAVA  //  View Comments

<htmL>
<body>
<TABLE BORDER=2>
<%
int n=10;
for ( int i = 0; i <n; i++ ) {
%>
<TR>
<TD>Number</TD>
<TD><%= i+1 %></TD>
</TR>
<%
}
%>
</TABLE>
</body>
</htmL>

Related posts:

  1. Using Scriptlets in JSP
  2. Displaying current time in JSP
blog comments powered by Disqus