J'utilise JSF et lorsque j'ajoute une image avec la palette elle s'affiche mais lorsque j'exécute ma page avec le serveur Tomcat elle ne s'affiche pas même chose pour les couleurs de background.
Aidez moi svp.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 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <html> <f:view > <h:panelGrid border="0" columns="1" style="width: 1000px"> <h1 style="background-color: DeepSkyBlue; color: White; width: 981px"><h:graphicImage url="C:\Documents and Settings\Administrateur\workspace\images\logo.gif" id="lg"></h:graphicImage></b><h:outputText id="msg" value="Société " style="color:White"></h:outputText></h1> </h:panelGrid> </f:view> </html>
Partager