日期:2014-05-20 浏览次数:20919 次
while(rs.next()){
String archiveNo = rs.getString("archive_no");
String titleProper = rs.getString("title_proper");
String yearCode = rs.getString("year_code");
String fileCode = rs.getString("file_code");
map.put("archiveNo",archiveNo);
map.put("titleProper",titleProper);
map.put("yearCode",yearCode);
map.put("fileCode",fileCode);
System.out.println("map is "+map);
list.add(i,map);
System.out.println("list is "+list);
System.out.println("i = "+i);
i++;
}
while (rs.next()) {
map = new HashMap();
}