ho provato a fare una cosa del genere:
ovviamente l'output è parecchio disordinato.codice:<jsp:useBean id="sql" scope="page" class="operazioni_database.Leggi" /> <table> <thead> <th> <jsp:getProperty name="sql" property="nomeColonne" /> </th> </thead> <tbody> <tr> <td> <jsp:getProperty name="sql" property="line" /> </td> </tr> </tbody> </table>
in pratica dovrei fare in modo che in automatico crei tanti tag th e tr/td a seconda del risultato della query.
è possibile??

Rispondi quotando