当.properties文件中的内容变化时,不用重启系统,系统能立刻使用变化的数据。 eg. .properties文件中的fileSavePath=D:\Develop\files修改为fileSavePath=D:\Develop\files2,则修改后,下一次上传文件时,立刻能上传到新的文件路径下,不需要重启项目。
.properties
fileSavePath=D:\Develop\files
fileSavePath=D:\Develop\files2