mapping="/resources/**" location="/public-resources/"/>
However, people tend to overlook the following 2 steps in order to make it completely work:1. mvc:annotation-driven needs to be added as well. Otherwise, the above configuration would block DispatcherServlet to dispatch other dynamic content to controllers.
2. Make sure request path for those static content is correct, i.e., including context path.
No comments:
Post a Comment