salut tout le monde,
je suis vraiment débutant au développement web sous JAVA ( j'ai commencé aujourd'hui)
j'ai entamé mon projet par des simples tests, une page jsp index.jsp comme suit :
et une autre page html header.html :
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
16 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title> </title> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <%@ include file="header.html" %> </td> </tr> </table> </body> </html>
mon souci c'est que quand je clique sur "run" ça me donne une page blanche vide et l'image header.png ne s'affiche pas
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
16
17 <!DOCTYPE html> <html> <head> <meta charset="ISO-8859-1"> <title> .:: test ::. </title> </head> <body> <table> <tr> <td><td> <td width="1000" height="206" align="center" background="images/header.png"> <img src="images/header.png"/></td> <td></td> </tr> </table> </body> </html>
je travaille avec l’environnement eclipse
Merci de m'orienter
cordialement
Partager