Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 38028 invoked from network); 4 Oct 2004 16:24:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Oct 2004 16:24:41 -0000 Received: (qmail 69826 invoked by uid 500); 4 Oct 2004 16:24:17 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 69674 invoked by uid 500); 4 Oct 2004 16:24:16 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 69606 invoked by uid 99); 4 Oct 2004 16:24:15 -0000 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=DNS_FROM_RFC_POST,FAKE_HELO_EXCITE,LOTS_OF_STUFF,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of tharpster@excite.com designates 207.159.120.57 as permitted sender) Received: from [207.159.120.57] (HELO excite.com) (207.159.120.57) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 04 Oct 2004 09:24:13 -0700 Received: by xprdmailfe22.nwk.excite.com (Postfix, from userid 110) id EF2D6299A0; Mon, 4 Oct 2004 12:24:07 -0400 (EDT) To: user@forrest.apache.org Subject: RE: Path for images in PDFs Received: from [204.210.32.14] by xprdmailfe22.nwk.excite.com via HTTP; Mon, 04 Oct 2004 12:24:07 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = 5cea99197a50038885ad3cef5640f2e2 Reply-To: tharpster@excite.com From: "Tamara Harpster" MIME-Version: 1.0 X-Sender: tharpster@excite.com X-Mailer: PHP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20041004162407.EF2D6299A0@xprdmailfe22.nwk.excite.com> Date: Mon, 4 Oct 2004 12:24:07 -0400 (EDT) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I ran into the same problem recently and I fixed it by creating a resources/images directory at the same level as the content directory. This directory gets copied into the webapp directory. The problem I found later is that this directory doesn't seem to get updated with future forrest commands. You might try checking in the developer.log in webapp/WEB-INF/logs directory, I think that's where I found the error of where forrest was looking for the pdf images and that it was looking for them in resources/images. Tamara Harpster --- On Mon 10/04, Claus Bech Rasmussen - TELMORE < cbr@telmore.dk > wrote: From: Claus Bech Rasmussen - TELMORE [mailto: cbr@telmore.dk] To: user@forrest.apache.org Date: Mon, 4 Oct 2004 17:25:11 +0200 Subject: Path for images in PDFs 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:

forrestGif



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

Now, if I just do this instead:

forrestGif



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?

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web!