http://www.visualbuilder.com/jsp/tutorial/pageorder/13/
I got the code from this place, however, when I try to run it, it doesn't work.
I am new to JSP, just trying to learn the basics , but I can't even get correct info from the website.
A friend altered the code for me like this, although what I noticed is that he added in int x, whereas the original code didn't. Was the output support to be any different?
My friend's code:
<HTML>
<HEAD>
<!-- Example2 -->
<TITLE> JSP loop</TITLE>
</HEAD>
<BODY>
<font face=verdana color=darkblue>
JSP loop
<BR> <BR>
This is a loop example from the
<br>
<%
int x=8;
for (int i=1; i<x; i++){
%>
<font size="<%= String.valueOf(i)%>" color=darkred face=verdana>VisualBuilder JSP Tutorial</font><br>
<%}
%>
</font>
</BODY>
</HTML>