Pessoal, tenho um problema…Preciso inserir linhas na minha tabela enquando existir cod…
if (rs.next()) {
compromisso = rs.getString("compromisso");
obs = rs.getString("obs");
}
Html:
<fieldset style="width: 801px; height: 319px; padding: 2">
<legend><b><i><font color="#000080" size="4">Minha Agenda</font></i></b>
</legend>
<table border="1" width="98%" id="table2">
<tr>
<td width="63" align="center"> </td>
<td width="64" align="center"> </td>
<td width="78" align="center"><jsp:getProperty name="acesso" property="cod_cad" /> </td>
<td align="center"> <jsp:getProperty name="acesso" property="compromisso" /> <br> </td>
<td width="167" align="center"> <jsp:getProperty name="acesso" property="obs" /> <br> </td>
<td width="109" align="center"> </td>
<td width="94" align="center"> </td>
</tr>
</table>
<p> </p>
<p> </p>
</fieldset>
Como faço para inserir linha na tabela se houver cod ainda?
Grata