Hello:
My external javascript files are not being recognized in Spring MVC. For example I have:
<script type="text/javascript" src="/js/sample.js"></script>
in my
JSP. My javascript files are in a directory called "js" which is immediately inside the context root. Therefore, you would think:
<mvc:resources mapping="/js/**" location="/js/"/>
in the context file would take care of this but it doesn't. I have tried all kinds of variations in the <script> tag and the <mvc:resources> tag to no avail.
I'm looking for ideas because I'm stumped.
Thanks
Eric