Just a quick thought, but I think Tomcat doesn't allow access to WEB-INF folder 
via HTTP.

Peter

-----Ursprüngliche Nachricht-----
Von: Wolf Benz [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 6. August 2007 12:38
An: [email protected]
Betreff: MF1.2.0 & faces: no Images rendered?


Hi List,

Has anyone tried the combination Facelets + MF1.2.0 and rendering an image?
Setup: I keep all my pics in /WEB-INF/resources/pics (and then per Use
Case subfolders)

I've tried with both style elements on the HTML element itself, like
for Table Data:
style="background-image:url('/WEB-INF/resources/pics/metal.jpg');
... and with the HTML "img" element, like e.g.:
<img src="/WEB-INF/resources/pics/login/frame_hr.gif" alt="pic"
border="0" height="13" vspace="8" width="412" />

But both fail.
The paths are right; Eclipse renders all well in it's Web Page editor view.
(btw I'm using Tomcat 6.0.13, Java 5, on OSX)


-Wolf

Reply via email to