Quick question:
For some initiations I need to pass java URL class with url to specific file. But I posses this file in resources in my aplication. So I ask is there possible to create java URL class with relative address? I have never seen something like that, so I wonder.
Try creating a
Fileobject first (where you can provide a relative path to your resource) and then convert it to an URL: