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
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.