int xiaozuid[]=null;
int x=0;while(rs1.next())
{
   pw.print("    <td colspan=\"10\"><div align=\"center\" class=\"STYLE1\">"+rs1.getString(1)+"</div></td>");
   xiaozuid[x] = rs1.getInt(2);
   x++;
}
数据库里有3行纪录。取的时候也能正常取出来。但是   
xiaozuid[x]=rs1.getInt(2);
   x++;
这句却不能循环郁闷中