Bonjour,
j'ai un tableau à trier et je voudrais utiliser le display tag. j'ai installé
commons-logging
commons-lang
commons-collections
commons-beanutils
log4j
et fait un build path sous eclipse
mis displaytag.tld sous webINF et creer le fichier web.xml suivant:
je fais un petit prog de test :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <taglib> <taglib-uri>http://displaytag.sf.net</taglib-uri> <taglib-location>/WEB-INF/displaytag.tld</taglib-location> </taglib> </web-app>
et j'obtiens cette erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 <%@ taglib uri="/WEB-INF/displaytag.tld" prefix="display" %> <display:table name="test"> <display:column property="id" title="ID"/> <display:column property="name" /> <display:column property="email"/> <display:column property="status"/> <display:column property="description" title="Comments"/> </display:table>
exception
javax.servlet.ServletException: org/apache/commons/lang/UnhandledException
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Je ne vois pas d'où vient mon pb surement de l'installation de la display tag ?
Partager