I have a bit similar problem described here:
Refresh static files served by SparkJava
In my application user can upload the content to one folder that is als
Move to externalStaticFileLocation("/var/www/public");
externalStaticFileLocation("/var/www/public");