How to minify JavaScript in Spring-MVC

I want to Minify all js file in my project

I am using spring-mvc, tiles and tomcat

Please give me the correct solution for how to properly implement this.



source to share

1 answer

What version of spring are you using? Spring MVC 4.1 gives you support for minifying css and js out of the box. Check out the link for more information:



All Articles