<%
rs.next();
i++;
}
}catch(Exception e){
out.println(e.getMessage());
}
try{
sqlbean.close();
rs=null;//let it null
if(rs!=null)
rs.close(); // if no this ,have exception
}catch(SQLException e){
out.println(e.getMessage());
}
%>
rs.next();
i++;
}
}catch(Exception e){
out.println(e.getMessage());
}
try{
sqlbean.close();
rs=null;//let it null
if(rs!=null)
rs.close(); // if no this ,have exception
}catch(SQLException e){
out.println(e.getMessage());
}
%>