<%
  ResultSet re = null; 
  rs = linkDB("select * form student");
  rs.next(); //用try{}catch(SQLException e){}也出错
  rs.close(); //也会出错
%>
你这样试试