Re: problem in FOP for locating image with relative path THOUGH have used BaseDir

2003-01-11 Thread J.Pietschmann
Jasmin Mehta wrote: But still Im getting below error: [ERROR] Could not load external SVG: The current document is unable to create an element of the requested type (namespace: http://www.w3.org/2000/svg, name: head). [ERROR] Error while creating area : No ImageReader for this type of image

Re: problem in FOP for locating image with relative path

2003-01-09 Thread RShonk
Jasmin, I had some problems using a relative path with images also. What I ended doing was sending the application path as an attribute in the xml file. Using application.getRealPath() from within your jsp should give you a starting point, or ServletContext.getRealPath() from within a servlet.