<%@ page language="java" %> <%@ page import="jspexamples.*" %> <%! char c = 0; %>
<% for (int i = 0; i < 26; i++) { for (int j = 0; j < 26; j++) { // Output capital letters of the alphabet, and change starting letter c = (char)(0x41 + (26 - i + j)%26); Character thisChar = new Character (c); letterColor.setCharacter (thisChar.toString ()); %> > <%= letterColor.getCharacter() %> <% } // end for j %>
<% } // end for i %>
<% c = 0; for (int i = 0; i < 26; i++) { for (int j = 0; j < 26; j++) { // Output capital letters of the alphabet, and change starting letter c = (char)(0x41 + (26 - i + j)%26); Character thisChar = new Character (c); letterColor.setCharacter (thisChar.toString ()); %> > <%= letterColor.getCharacter() %> <% } // end for j %>
<% } // end for i %>