Je suis en train de fichier importer du header.jsp dans mon fichier en utilisant l'attribut url de la balise d'importation, mais je reçois erreur d'exécution - java.io.FileNotFoundException: http://localhost:8081/latest/header.jsp<c:import> tag
Le fichier importé et le fichier d'importation dans la même application Web (le plus récent).
Le code du fichier d'importation est:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html><body>
<c:import url="http://localhost:8081/latest/header.jsp" charEncoding="UTF-8" />
<em>Web services Support Group.</em><br><br>
</body></html>
et le code du fichier importé est:
<em><strong>${param.name}</strong></em><br>
Merci pour votre réponse. Vous avez absolument raison. – Greenhorn