Pb avec web.xml et taglib
bonjour,
jai une erreur dans mon web.xml ici des le debut
Code:
1 2 3 4 5
|
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib> |
avec ca comme info d erreur
cvc-complex-type.2.4.a: Invalid content starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description,
"http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon,
"http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param,
....
"http://java.sun.com/xml/ns/j2ee":message-destination,
"http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected.
d ou cela peut bien provenir ?
voici le debut de ma jsp
Code:
1 2 3 4 5 6
|
<%@ page contentType="text/html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<jsp:useBean id="usrBean" class="testco.UserBean" scope="request"/>
<home>
<c:forEach items="${usrBean.listuser}" var="table"> |
[/b]