Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/08/2009, 03:28
erevaristo
 
Fecha de Ingreso: abril-2009
Ubicación: En dust 2
Mensajes: 149
Antigüedad: 15 años
Puntos: 2
Problema con displaytab

Tengo un código en jsp que deberia mostrarme una tabla, pero al ejecutarlo solo me muestra " Nothing found to display. ". Espero sus respuestas Gracias.

Este es el código:

Código:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@taglib uri="http://displaytag.sf.net" prefix="display"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>PRUEBA JSTL Y DISPLAYTAG</title>
</head>
<body>

  <c:set var="id" value="1"/>
  <c:set var="email" value="[email protected]"/>
  <c:set var="pie" value="1"/>

  <display:table name="tablaPrueba" pagesize="10">
	   <display:column title="ID"> <c:out value="${id}"/> </display:column>
	   <display:column title="EMAIL"> <c:out value="${email}"/> </display:column>
	   
	   <display:footer> 
	  	 <tr> 
	  		 <td> total: </td> 
	  		 <td> <c:out value="${pie}" /> </td> 
	  	 <tr> 
	   </display:footer>
  </display:table>

</body>
</html>