Let's see how we can serve static images with Spring MVC:
src/main/webapp/resources/images/directory; I have used three product images, namely
<mvc:resources location="/resources/" mapping="/resource/**"/>
http://localhost:8080/webstore/resource/images/P1234.png(change the image name in the URL based on the images you placed in step 1).
What just happened was simple; in step 1, we placed some image files under the