<html> 
    <head><title>Squares JSP demo</title></head> 
    <body> 
        <% for (int i=1; i<=10; i++) { %> 
            Square of <%= i %> is equal to <%= i*i %>. 
            <br /> 
        <% } %> 
    </body> 
</html>
Back to Internet Programming with Java books's web site