Afficher une image sous jsp

Fermé
nina - 20 mars 2012 à 01:21
Bonjour tout le monde,
J'essai d'ajouté un fond a ma page JSP, si je fait appel a la page jsp depuis tomcat le fond s'affiche, mais des que j'ajoute la servlet qui fait appelle a la page JSP, tout va mal et le fond ne s'affiche pas
voici les codes sources
l'image se trouve dans le repertoire ou se trouve le fichier jsp
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>exemple</title>
</head>

<body style = "background-color : rgb(192,192,192);">
<h1>je suis la</h1>
<img src="1.jpg" >
</body>
</html>