forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: PDF not working correctly in deployed WAR file on Tomcat
Date Sat, 09 Feb 2008 14:09:38 GMT
On Fri, 2008-02-08 at 02:57 -0800, SteveOdlind wrote:
> 
> Thorsten Scherler wrote:
> > 
> > 
> >>Please do the following:
> >>- request instead of FILE.pdf FILE.fo
> >>e.g. http://localhost:8080/my-project/samples-b/ascii-art.fo
> >>- search for fo:external-graphic and copy the tag here in this list.
> >>e.g. <fo:external-graphic
> >>src="context:///project/src/documentation/content/xdocs/samples-b/cocoon-pyramid.png"/>
> > 
> >>This way we/you can see the location referenced and whether they exist
> >>in this location.
> > 
> > 
> 
> The external-graphic tag is:
> 
> <fo:external-graphic
> src="context:/\/project/src/documentation/content/xdocs/samples/cocoon-pyramid.png"/>
> 
> It is correct from "src/documentation..." onwards, but the first part
> doesn't look right.


Hmm, yeah that really looks ugly. AFAIR \ is an escape character for
many os and regexp. Weird that it is switched in your case. 

Did you try in jetty?

We need to look in the fo xsl, whether we have OS specific code. BTW are
you on linux or windows?

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message