jsp第二次作业:3/10
1.利用Java程序片,用for二重循环输出一个3行5列的table(考察JSP程序片和HTML代码结合使用)
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <body> <table border="3" width="500" height="50" bordercolor=yellow> <% for (int i = 1; i <= 3; i++) { %> <tr> <% for (int j = 1; j <= 5; j++) { %> <td>Jsp</td> <% } %> </tr> <% } %> </table> </body>