Created
August 29, 2012 10:00
-
-
Save lalyos/3509545 to your computer and use it in GitHub Desktop.
tiles reload definitions with springMVC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean class="org.springframework.web.multipart.commons.CommonsMultipartResolver" | |
id="multipartResolver" /> | |
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" | |
id="tilesViewResolver"> | |
<property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView" /> | |
</bean> | |
<bean class="org.springframework.web.servlet.view.tiles2.TilesConfigurer" | |
id="tilesConfigurer" > | |
<property name="definitions"> | |
<list> | |
<value>/WEB-INF/layouts/layouts.xml</value> | |
<!-- Scan views directory for Tiles configurations --> | |
<value>/WEB-INF/views/**/views.xml</value> | |
</list> | |
</property> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment