《JSP笔记》之七(数据库mysql) 2026/4/27 3:11:25 <% while(rs.next()){ %> <%=rs.getString(1)%> <%=rs.getString(2)%> <%=rs.getInt(3)%> <% } %> <% con.close(); } catch(SQLException e1){ out.println(e1); } %>