jsp第二次作业

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<html>
<head>
</head>

<body>
<%!char a = 'A';
int i;%>
<%!char b = 'a';
int j;%>
<%
for (i = 0; i < 26; i++) {
out.print(a + " ");
a += 1;
}
%>
<br>
<%
for (j = 0; j < 26; j++) {
out.print(b + " ");
b += 1;
}
%>
<br>
<font size="5" color="red">--------------------------------------</font>
<table border=1>
<%
for (int i = 0; i < 3; i++) {
%>
<tr>
<%
for (int j = 0; j < 5; j++) {
%>
<td><%=i + 1%>,<%=j + 1%> <%
}
%>

</tr>
<%
}
%>
</table>
</body>
</html>

l>

原文地址:https://www.cnblogs.com/xf981107/p/12494327.html