I came up with the following issue. I couldn't open neither of my web-pages after I had added a resource mapping to the spring-config:
<mvc:resources location="/resources/" mapping="/resources/**"/>
But, after I added
<mvc:annotation-driven />
it got work fine. Why? Couldn't someone explain what the tag does?