I am unable to load the Js and Css files in to jsp using Spring MVC 3 with tiles3. Can someone help me. Here the my configuration.

Project Folder Structure

```
-SpringWithTiles
----webapp
--------resouces
----------script
--------------js
---------------myscript.js
--------------css
---------------style.css
----WEB-INF
-------jsp
---------signIn.jsp

```

servlet.xml

```
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" id="viewResolver">  
    <property name="viewClass">  
    <value>  
        org.springframework.web.servlet.view.tiles3.TilesView  
    </value>  
     </property>  
</bean>  
    <bean id="tilesConfigurer"  
  class="org.springframework.web.servlet.view.tiles3.TilesConfigurer">  
  <property name="definitions">  
        <list>
            <value>/WEB-INF/tiles.xml</value>
        </list>
    </property>
</bean>

 <mvc:resources mapping="/resources/script/js/**"  location="/webapp/resources/script/css" />
<mvc:resources mapping="/resources/script/css/**" location="/webapp/resources/script/js" />`

```

tiles.xml

```
 <tiles-definitions>  
   <definition name="baseLayout" template="/WEB-INF/layout/simpleLayout.jsp">  
       <put-attribute name="title" value="" />  
       <put-attribute name="header" value="/WEB-INF/layout/header.jsp"/>  
       <put-attribute name="body" value="" />  
       <put-attribute name="footer" value="/WEB-INF/layout/footer.jsp" />
  </definition>  
 <!--   <definition name="baseLayoutWithLeftPane" template="/jsp/layout 
/layoutWithLeftPane.jsp">  
       <put-attribute name="title" value="Learn - Educate" />  
       <put-attribute name="header" value="/jsp/layout/header.jsp" />  
       <put-attribute name="navigation" value="/jsp/layout/navigation.jsp" />  
       <put-attribute name="body" value="" />  
       <put-attribute name="footer" value="/jsp/layout/footer.jsp" />  
  </definition>  
   <definition name="welcome" extends="baseLayoutWithLeftPane">  
       <put-attribute name="title" value="Learn - Educate" />  
       <put-attribute name="body" value="/jsp/home.jsp" />  
  </definition>   -->
  <definition name="siginIn" extends="baseLayout">  
       <put-attribute name="title" value="siginIn" />  
       <put-attribute name="body" value="/WEB-INF/jsp/siginIn.jsp" />  
  </definition>       

```

web.xml

```
      <servlet-mapping>
    <servlet-name>babwitU</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>
    <welcome-file-list>
    <welcome-file>/index.jsp</welcome-file>
  </welcome-file-list>

```

index.jsp

```
<a href="redirectToSiginIn">Click Here</a>

```

Contoller.java

```
@RequestMapping("/redirectToSiginIn")
public ModelAndView siginIn(){
    ModelAndView mav=new ModelAndView();
    mav.setViewName("/siginIn");
    return mav;
}

```