Resource Path

There seems to be info or an ability to get a resource as an inputstream. But how can i get the path of a resource, or preferably just the path of the resources folder.

I’m developing my software on windows but my server is linux. So I need to know the path of the


folder on each machine.


I suggest that you use


. It will return you an absolute path to the tomcat not considering an operating system you use,

Best regards,

Awesome. Thank you! :slight_smile: