Serve dynamically changing static content with Spring Boot
问题 Right now I have a simple Spring Boot application that serves static images that I have placed in resources/static/img . This works just fine for displaying the actual content, but there are two things I'd like to fix: I don't want any of these images to be bundled with the resulting .jar file, and I know that placing these images in the resources folder will do that. Using my current setup, in order to see a new image on the webapp, I have to add it to the folder and restart it. I would