Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 7d15856cd0
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (53 sloc) 2.621 kB
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
<context:component-scan base-package="org.springframework.webflow.issues" />
Map request paths to flows in the flowRegistry;
For example a path of /phonebook looks for a flow with id "phonebook".
<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping">
<property name="order" value="-1"/>
<property name="flowRegistry" ref="flowRegistry" />
<!-- Enable processing of requests by annotated Spring MVC @Controllers -->
<mvc:resources mapping="/resources/**" location="/, classpath:/META-INF/web-resources/" />
<mvc:default-servlet-handler />
<!-- Map paths directly to view names without controller processing. Use the view-name attribute if necessary: by convention the view name equals the path without the leading slash -->
<mvc:view-controller path="/" view-name="home" />
<!-- Resolve view names to JSP pages under /WEB-INF/views -->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/views/" />
<property name="suffix" value=".jsp" />
Uncomment to resolve logical view names returned to Tiles definitions
Also remember to remove the InternalResourceViewResolver above
<bean id="tilesViewResolver" class="org.springframework.js.ajax.AjaxUrlBasedViewResolver">
<property name="viewClass" value="org.springframework.webflow.mvc.view.FlowAjaxTilesView"/>
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer">
<property name="definitions">
<!-- Enable FlowExecutor invocation by the DispatcherServlet -->
<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerAdapter">
<property name="flowExecutor" ref="flowExecutor"/>
<!-- Import Spring Web Flow specific configuration -->
<import resource="webflow.xml"/>
Jump to Line
Something went wrong with that request. Please try again.