scusa ma ho scaricato ma non si capisce nulla per esempio:
codice:
<%@ include file="inc/header.jsp" %>
<%
request.setAttribute( "test", new ReportList(6) );
%>
<h2>Examples > Simplest case, no columns</h2>
<display:table name="test" />
The simplest possible usage of the table tag is to point the table
tag at a java.util.List implementation and do nothing else. The table tag will iterate through the
list and display a column for each property contained in the objects.
</p>
Typically, the only time that you would want to use the tag in this simple way
would be during development as a sanity check. For production,
you should always define at least a single column.
</p>
<%@ include file="inc/footer.jsp" %>
cos'è request.setAttribute( "test", new ReportList(6) );
io nelle mie pagine come faccio a creare le tabelle con i miei dati e le mie etichette?
Ho provato anche a usare :
codice:
RowSetDynaClass resultSet = new RowSetDynaClass(records, false);
request.setAttribute("results", resultSet);
// records è un Resulset che mi ritorna da una mi query
%>
<display:table name="requestScope.results.rows" />
Ma non funziona non mi riconosce RowSetDynaClass mi dà cannot find symbol
Se puoi aiutarmi mi fai un grosso piacere...
Ciao