Return to Snippet

Revision: 65510
at December 10, 2013 05:43 by tedg


Initial Code
<bean id="viewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
        <property name="contentType" value="text/html;charset=utf-8"/>
        <property name="order" value="10"/>
        <property name="requestContextAttribute" value="requestContext"/>
        <property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView"/>
</bean>

Initial URL

                                

Initial Description
The way to tell Spring MVC to resolve logic view names to Tiles "definition" name is, in a DispatcherServlet configuration file, define a bean of  type UrlBasedViewResolver with viewClass org.springframework.web.servlet.view.tiles2.TilesView

Initial Title
Using Tiles with Spring MVC

Initial Tags

                                

Initial Language
Java