I want spring to serve certain files from the /tmp... directory, the specific directory isn’t determined until shortly after the server starts so using <mvc:resources location="/images/**" mapping="/absolute/path/to/image/dir"/> won’t seemingly work.
I want spring to serve certain files from the /tmp… directory, the specific directory
Share
As Dave Newton noted – stream them from a controller. A very basic implementation: