forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Bech Rasmussen - TELMORE" <...@telmore.dk>
Subject Path for images in PDFs
Date Mon, 04 Oct 2004 15:25:11 GMT
Hi folks,

I'm running Forrest via Jetty and maybe I just don't understand how
requests are mapped, but here's my scenario:

I have something like this in a document:

    <p><img alt="forrestGif" src="images/111-forrest.gif" /></p>

The HTML works like a charm, but the images is not included in the PDF
version.

Now, if I just do this instead:

    <p><img alt="forrestGif" src="./images/111-forrest.gif" /></p>

Everything works fine. 

The document is sitting in a directory under xdocs and so is the
"images" dir. I tried changing the properties so that the images dir was
this local one - that fixed the PDF but broke the HTML.

Any hints?


Mime
View raw message