I have a spring boot application. my js files and other static files are under /static and when i type something like "http://application ip:port/file1.txt and file1.txt" is under /static, i am able to see it.
But i want to create a directotry say "/static/mydownloads" and want the list of files to be displayed that user can download say "http://application ip:port/static/mydownloads" must display list of files i can download "file1d.txt` file2d.txt file3d.txt" and person can download it by clicking on it. I tried resolvers and other random things but it did not work