I have the following servlet mapping -
<mvc:resources mapping="/css/**" location="/resources/css/" /> <mvc:resources mapping="/js/**" location="/resources/js/" /> <mvc:resources mapping="/images/**" location="/resources/images/" />
My link to the image in html is "/images/folder/imageName.jpg" - these images get me 404, whereas if I change the link to "/images/imageName.jpg" and transfer the image directly under the image folder, it gives me picture.
Do I need to somehow change the display of the servlet to take into account the hierarchical structure?
source share