Q:

how to add twitter-bootsrap and jquery to Spring MVC project

My first time I created from origin a web-app and I'm new on Spring MVC.
I created a Spring MVC project and works as well. Now I want to add twitter-bootsrrap and jquery to my project and use these. Bu I don't know ho can I do that?
I use Intellij Idea.
I've to download bootstrap and jquery files and add to project not from the link source.
I'm using Spring MVC 4. Because of that I don't use xml files for Spring configuration. I use anotations.
Could you help me please?

A:

add this line in your class config  :  
 @Override
        public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("/resources/**").addResourceLocations(
                    "/resources/");
        }

in src/main/webapp/  create folders resources and add css js to this folder .
in your page jsp apply  your css and js like  this using jstl  :
<%@taglib  uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>

    <link href="<c:url value="/resources/bootstrap/dist/css/bootstrap.min.css" />" rel="stylesheet">

