Ciao ragazzi,
sto provando ad utilizzare displaytag:
Ma tomcat mi restituisce:Codice PHP:<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.*" %>
<%@ page import="com.nota.beans.*" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%
List soggetti= SoggettiUtils.listaTuttiSoggetti();
pageContext.setAttribute("listaSoggetti", soggetti);
%>
<table class="griglia">
<tr>
<th>Descrizione</th>
<th>Nome</th>
<th>Cognome</th>
<th>Email</th>
<th>Codice Sottoconto</th>
</tr>
<logic:iterate id="soggetto" name="listaSoggetti" indexId="indice">
<tr>
<td>
<bean:write name="soggetto" property="descrizione"/>
</td>
<td>
<bean:write name="soggetto" property="nome"/>
</td>
<td>
<bean:write name="soggetto" property="email"/>
</td>
<td>
<bean:write name="soggetto" property="cognome"/>
</td>
<td>
<bean:write name="soggetto" property="codice_sottoconto"/>
</td>
</tr>
</logic:iterate>
</table>
<display:table name="listaSoggetti" />
The absolute uri: http://displaytag.sf.net cannot be resolved in either web.xml
Avete consigli in merito?![]()

Rispondi quotando