Here is how to add javascript/static files to the Spring MVC web project
*if you are looking for job click here
<mvc:resources mapping=”/resources/**” location=”/resources/” />
<script type=”text/javascript” src=”<c:url value=”/resources/js/yusuf.js” />” ></script>
Url to access :
http://localhost:8080/BelajarGetPost/resources/js/yusuf.js
Spring MVC add javascript, Spring add CSS, Spring MVC add Static file, Spring MVC javascript 404
Thank you, guy.
I just forgot I standing inside web-inf
thank you so much sir..:)
it was very nice and helpful.
you are welcome bro
thank you so much …
it was very very nice and helpful.