JSP第二次作业

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>
   
  </head>
  
  <body>
    <%
        out.print("<table>");
        for (int i = 1; i <= 3; i++) {
            out.print("<tr></tr>");
            for (int j = 1; j <= 5; j++) {
                out.print(" <td> " + j + "</td>");
            }
        }
        out.print("</table>");
    %>
</body>
</html>

 

posted @ 2021-03-11 13:13  青衫故人1118  阅读(29)  评论(0编辑  收藏  举报