Announcement Announcement Module
Collapse
No announcement yet.
How to add resources programatically Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to add resources programatically

    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?
Working...
X