I'm trying to access some JPEG images from the directory "upload" on my Spring boot application, however it is on the same level as src. What are some examples as to retrieve an image from there?
Asked
Active
Viewed 43 times
0
-
1Does this answer your question? https://stackoverflow.com/questions/9864267/loading-resources-like-images-while-running-project-distributed-as-jar-archive if you want to load from src folder instead of resources you just have to add "../" before your path – Nora Na Feb 16 '22 at 07:32