I am running a webpage + some ws in Tomcat that is running on a GNU Linux OS. The page will display images after a search on the images, the actual images are located within a folder within the webapp/appname
folder. Recently the free space within the system has gone short so I asked the sys admin for more space and in response they added a new NetApp volume and mounted it in /data
folder. This is outside of the Tomcat folder and I am having difficulty accessing it. Looking around I found this site:
Serving static content (including web pages) from outside of the WAR using Apache Tomcat
but such solution is for when you want to access the image through url, the images I am showing are shown in a slider and point to the folder within tomcat. I have also read that I can create a symlink for all the files, but will this work? will the slider, bootstrap carousel, work? the carousel population is done with javascript.
Does anyone have any idea how to solve this issue?
cheers,
es