An error occurred at line: 10 in the jsp file: /printTable.jsp
col cannot be resolved
7: %>
8: <tr>
9: <%
10: for(int j=0;j<col;j++){
11: %>
12: <td><%=i*j%></td>
13: <%
具体程序是这样的
<%
int row=Integer.parseInt(request.getParameter("row"));
int clo=Integer.parseInt(request.getParameter("col"));
%>
<%
for(int i=0;i<row;i++){
%>
<tr>
<%
for(int j=0;j<col;j++){
%>
<td><%=i*j%></td>
<%
}
%>
</tr>
<%
}
%>