<%--
Copyright (c) 2002 by Phil Hanna
All rights reserved.
You may study, use, modify, and distribute this
software for any purpose provided that this
copyright notice appears in all copies.
This software is provided without warranty
either expressed or implied.
--%>
<%@ page session="false" %>
ASCII Table
<%
StringBuffer sb = new StringBuffer();
sb.append("");
sb.append(" ");
for (int col = 0; col < 16; col++) {
sb.append("");
sb.append(Integer.toHexString(col));
sb.append(" ");
}
sb.append(" ");
for (int row = 0; row < 16; row++) {
sb.append("");
sb.append("");
sb.append(Integer.toHexString(row));
sb.append(" ");
for (int col = 0; col < 16; col++) {
char c = (char)(row * 16 + col);
sb.append("");
sb.append(c);
sb.append(" ");
}
sb.append(" ");
}
out.println(sb);
%>
PrintASCIITableJsp.zip( 88 k)