Salut,

après de multiples tests, j'ai trouvé qu'un problème que je rencontrais en utilisant les JSTL venait de mon fichier web.xml :

marche pas :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $Id: web.xml,v 1.1 2005/01/10 09:26:40 lilian Exp $ -->
<!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>
  <display-name>myData</display-name>
marche :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
 
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
    version="2.4">
 
  <display-name>myData</display-name>
Mais maintenant, j'ai une erreur dans eclipse :
cvc-elt.1: Cannot find the declaration of element 'web-app'.

Comment régler ce problème ?
Merci d'avance
Lilian