myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fleischer Peter" <peter.fleisc...@munich-airport.de>
Subject AW: MF1.2.0 & faces: no Images rendered?
Date Mon, 06 Aug 2007 10:40:38 GMT
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:eurojava@gmail.com]
Gesendet: Montag, 6. August 2007 12:38
An: users@myfaces.apache.org
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

Mime
View raw message