在jasp页面循环显示

时间:2014-02-14 05:40:54   收藏:0   阅读:439
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<%
int h=3;//行数
int l=3;//列数
%>
<table>
<%
for(int i=0;i<h;i++){
%>
<tr>
<%
for(int j=0;j<l;j++){
%>
<td></td>
<%}%>
</tr>
<%}%>
</table>

原文:http://www.cnblogs.com/adrianlamo/p/3548118.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!