Hello all, I have an image file that I need to be using in an external tool and the only way I can use that is through its absolute (url) path. So if my image can be accessed by
I need to be able to get the absolute path which might be:
How can I do this?
Before I finish, I do not know if this topic belongs here; if it does not then please do the needful to port it to the right forum. I apologize if that is the case.
I want to get the URL for the image. Let me explain the requirement, I am trying to use this image from an XSL file and there it will not take the relative path, but only the absolute path. So I need to be able to reference the image as
From my Java code, I will be able to get the relative path of the image but I will need to know what is the application URL so that I can pass it appropriately to my XSL so that it can read the image properly and render it.