Bonjour,
je viens de creer une jsp et je voudrais afficher toutes les annees que j'ai creer depuis la base de donnees. j'arivve a afficher ces annees avec <logic:present name=""> sur un tableau. mais quand j'utilise displaytag, j'ai des erreurs qui s'affiche a l'ecran et parfois la machine ne voit pas le code.
je developpe du j2ee et j'utilise eclispe 3.2 et hibernate 3.0. j'ai telecharger et installer la displaytag. ici Annee represente l'objet a afficher avec ses attributs(libele et code).
quelqu'un peut il m'aider a resoudre ce probleme ?
merci d'avance.
je vous donne ici le code de ma jsp.
<%@ page language="java"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/displaytag-el-12.tld" prefix="display"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ListeAnnees</title>
</head>
<body>
<html:form method="post" action="/AffAnnee" >
<display:table width="75%" border="1" name="lAnnee" >
<display:column property="liblongan" />
<display:column property="codan" />
</display:table>
</html:form>
</body>
</html>
Partager