I am using Spring MVC and Tomcat 8.0.36 for my web application. I have an image directory to access, but it is outside the website directory. Here is what I have, but it seems not working:
<mvc:resources mapping="/uploads/v1/**" location="Z:/uploads/v1/" />
The website is located at:
E:\website\tomcat\webapps\mysite
Does Spring support such access? The site runs on Windows. I am hoping that
http://mysite/uploads/v1/image.jpg would be served from Z:/uploads/v1/