Come faccio a contare i record presenti in una tabella con JSP
ho provato così ma mi da degli errori
ResultSet rs = st.executeQuery("select count(*) AS ID from prova where cod_='" + cod_ + "'");
rs.next();
out.print rs.getString(ID);
qual é l'errore?

Rispondi quotando