Peter was right - I moved all pics to /resources/pics from
/WEB-INF/resources/pics, now all works.
And what is the exact reason for this?
I thought all you put under /WEB-INF is secret for the *outside*, but
that yoru own resources (pages e.g.) could still access it!
-Wolf

On 8/6/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> no!
>
> /web-inf/web.xml (or web-inf/faces-config) you are not interested in
> serving them.
>
> -M
>
> On 8/6/07, Wolf Benz <[EMAIL PROTECTED]> wrote:
> > No? - I'll try that, just a sec.
> > -Wolf.
> >
> > On 8/6/07, Fleischer Peter <[EMAIL PROTECTED]> wrote:
> > > 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
> > >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>

Reply via email to