Re: problem with path relative - HELP ME
hi i have the same problem also images didn't appear till i write full path of the images like c:\images\image.gif and not work with this ( http://localhost:8080/cocoon/mydir/images/image.gif ) i don't know what is the reason so i hope that anybody can help in this thanx - Original Message - From: Carlos Daniel Schafer [EMAIL PROTECTED] To: Fop-Dev (Correo electrnico) fop-dev@xml.apache.org; Fop-User (Correo electrnico) [EMAIL PROTECTED] Sent: Friday, April 19, 2002 4:14 PM Subject: problem with path relative - HELP ME Hi I look distinct examples on Fop configuration. I have a problem with path relative by image. My code in servlet embeded is String baseDirPath = http://localhost:8080/portalrentas/;; org.apache.fop.configuration.Configuration.put(baseDir, baseDirPath); but, I have a problem This, show me the next error: [ERROR]: Error while creating area : Error while recovering Image Informations (http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg) : http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg I don't understand. What's the error? Why's ocurrs this errors? My code into xslfo is fo:external-graphic src=fop/xslfo/escudo-200.jpg/
Re: problem with path relative - HELP ME
Mohamed Abdel Hameed wrote: hi i have the same problem also images didn't appear till i write full path of the images like c:\images\image.gif and not work with this ( http://localhost:8080/cocoon/mydir/images/image.gif ) The second form requires a webserver running and serving the requested file. You can check whether it works by pointing your favorite browser to the URL and let surprise yourself whether the picture is displayed. If the browser has no difficulties, but FOP still can't get the images, check whether the server correctly serves the content type and other meta data. There are more, but very rare possibilites. J.Pietschmann
problem with path relative - HELP ME
Hi I look distinct examples on Fop configuration. I have a problem with path relative by image. My code in servlet embeded is String baseDirPath = http://localhost:8080/portalrentas/;; org.apache.fop.configuration.Configuration.put(baseDir, baseDirPath); but, I have a problem This, show me the next error: [ERROR]: Error while creating area : Error while recovering Image Informations (http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg) : http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg I don't understand. What's the error? Why's ocurrs this errors? My code into xslfo is fo:external-graphic src=fop/xslfo/escudo-200.jpg/
Re: problem with path relative - HELP ME
So, it looks like baseDir is set correctly. The error happens because FOP can't load the image from where specified. Try the URL http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg in your browser to see if the image is really there. If not, find out what you have to specify so the images can be found. I look distinct examples on Fop configuration. I have a problem with path relative by image. My code in servlet embeded is String baseDirPath = http://localhost:8080/portalrentas/;; org.apache.fop.configuration.Configuration.put(baseDir, baseDirPath); but, I have a problem This, show me the next error: [ERROR]: Error while creating area : Error while recovering Image Informations (http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg) : http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg I don't understand. What's the error? Why's ocurrs this errors? My code into xslfo is fo:external-graphic src=fop/xslfo/escudo-200.jpg/ Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Tel. +41 41 317 2020 - Fax +41 41 317 2029 Internet http://www.outline.ch
RV: problem with path relative - HELP ME
-Mensaje original- De: Carlos Daniel Schafer Enviado el: viernes, 19 de abril de 2002 11:14 Para: Fop-Dev (Correo electrónico); Fop-User (Correo electrónico) Asunto: problem with path relative - HELP ME Importancia: Alta Hi I look distinct examples on Fop configuration. I have a problem with path relative by image. My code in servlet embeded is String baseDirPath = http://localhost:8080/portalrentas/;; org.apache.fop.configuration.Configuration.put(baseDir, baseDirPath); but, I have a problem This, show me the next error: [ERROR]: Error while creating area : Error while recovering Image Informations (http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg) : http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg I don't understand. What's the error? Why's ocurrs this errors? My code into xslfo is fo:external-graphic src=fop/xslfo/escudo-200.jpg/