Re: Including images from a servlet

2004-01-20 Thread J.Pietschmann
Richard Sweeney wrote: [ERROR] Error while creating area : Invalid Image URL - error on relative URL : unknown protocol: c <---(that's actually where the message ends) Check the FAQ: http://xml.apache.org/fop/faq.html#MalformedURLException J.Pietschmann ---

RE: Including images from a servlet

2004-01-20 Thread mathieu . fretiere
>URL : unknown protocol: c Well, 'c' is not a protocol, you should try something like : file:C:///stylesheets/fop or url('file:C:///stylesheets/fop') I'm no sure, experts will tell you more Mathieu - To unsubscribe, e-mail: [E

RE: Including images from a servlet

2004-01-20 Thread Richard Sweeney
Sorry to be a pain, but I'm not having much luck with this. This is what I've done so far: After creating the driver, I've inserted the line org.apache.fop.configuration.Configuration.put("baseDir", "C:/stylesheets/fop"); and in the stylesheet changed the line to However, when I transform it,

Re: Including images from a servlet

2004-01-20 Thread Chris Bowditch
Richard Sweeney wrote: is there a way to make it search for the image in the current directory, i.e. the same one as the XSL-FO stylesheet? You can set the base directory for which relative paths will be resolved against. This can be done using a configuration file, or set in a program. See: h