Dear Sirs, I tried to embed Fop-0.20.3 into my Web-application (this application works under Tomcat-4.0.4). I have a problem with link to images while creating a PDF file. In my FO file I've used tag: **** <fo:external-graphic src="image.gif"/> **** And I received Error message: ***** ERROR 10231 [fop ] (): Error while creating area : Error with image URL: image.gif (The system cannot find the file specified) and no base directory is specified ***** If I try the same without Tomcat but in COMMAND window - it works. Could you tell me, please, how can I use relative links in FOP? Regards, Yevgen
Relative pathes are resolved relative to baseDir property. You can set it either in userconfig.xml or using Configuration class (see faq).
batch transition to closed remaining pre-FOP1.0 resolved bugs