简体   繁体   中英

Spring MVC application and static content updating

Here's the deal. I've got a small Spring MVC web-application using static content in its work. Static content like .css or .jpg files is located in /RESOURCES directory and is available without any problems by way of using mvc:resources tag but I can't get an access to files, which were uploaded in the course of application working into /RESOURCES folder, without restarting the server. However I need them in my application. If anyone would help me with that please?)

The static resources were created to optimize the time these resources are served. And the optimization is made at build time, so it can't no reload automatically by definition.

https://spring.io/blog/2014/07/24/spring-framework-4-1-handling-static-web-resources

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM