0

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?

enter image description here

code_learner93
  • 235
  • 1
  • 7
  • 1
    Does 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

0 Answers0