I am doing a project using Spark Java. On the server side, some images are created, and I want them to be available on the client. Since I have a directory of static content, after creating the image on the server side, I put it in this directory. However, this file is not available unless I restart the server. I suppose there should be a way to update the static directory file for Spark Java at run time so that requests for executable images at run time can be executed. Right?
Thanks!
source share