Struggling to integrate jQuery into my Spring MVC application as a beginner in Spring MVC. I've created a 'js' folder under the webapp directory, but unsure how to include the file in my view.
I attempted:
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-2.0.3.min.js"></script>
However, this generates an unresolved path issue because there is no controller for /js path.
My query is about the usual practice - should a controller be set up to provide the jquery-2.0.3.min.js file?