Tristan, if you were responding to my suggestion, then the tasks would be:
1) Create a directory in the host, say /opt/image
2) Configure the app server such that the context /UserResources, accessible via the URL
http://MyHost:8080/UserResources, maps to the directory /opt/image
3) Ignore the /opt/image directory when creating the WAR
I prefer the term 'host' because it implies the physical (or virtual) machine on which the application server is running. I have seen the term 'server' used to mean the host in some cases and the application server in others, so the term 'server' tends to be ambiguous, which is not good when discussion precise configuration.