J’essaie d'apprendre à utiliser les fichiers XML dans une page JSP, voici la structure de mon projet =>
Quand j'utilise la commande d'importation du fichier xml dans le fichier jsp, j'ai cette erreur comme résultat.
Voici le contenu de ma page jsp:
Merci d'avance !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>My Familly</title> </head> <body> <c:import url="/WEB-INF/MyFamilly.xml" varReader="myFamilly"> </c:import> </body> </html>
Partager