I now know that we can use this in the servlet-context.xml to add to the resources:
<resources mapping="/resources/**" location="/resources/,file:/home/john/temp_jpgs/" />
However I would like the "file:/home/john/temp_jpgs/" part to be programatically added by allowing this to be stored in a database.
How do I go about adding this feature?
