web.xml
webflow-config.xmlCode:... <context-param> <param-name>contextConfigLocation</param-name> <param-value><![CDATA[ classpath:data-access-config.xml, classpath:service-config.xml, classpath:bl-config.xml, classpath:dao-config.xml, classpath:webmvc-config.xml, classpath:webflow-config.xml, classpath:controller-config.xml, classpath:security-config.xml, ]]></param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <servlet> <servlet-name>resources</servlet-name> <servlet-class>org.springframework.js.resource.ResourceServlet</servlet-class> <load-on-startup>0</load-on-startup> </servlet> <servlet> <servlet-name>springproj</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value></param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> ...
flow definitionCode:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:flow="http://www.springframework.org/schema/webflow-config" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd"> <!-- Executes flows: the entry point into the Spring Web Flow system --> <flow:flow-executor id="flowExecutor" flow-registry="flowRegistry" > <flow:flow-execution-listeners> <flow:listener ref="securityFlowExecutionListener"/> </flow:flow-execution-listeners> </flow:flow-executor> <bean id="securityFlowExecutionListener" class="org.springframework.webflow.security.SecurityFlowExecutionListener"> </bean> <!-- The registry of executable flow definitions --> <flow:flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices"> <flow:flow-location-pattern value="/WEB-INF/flows/**/*-flow.xml"/> </flow:flow-registry> <flow:flow-builder-services id="flowBuilderServices" development="true" view-factory-creator="mvcViewFactoryCreator" /> <bean id="mvcViewFactoryCreator" class="org.springframework.webflow.mvc.builder.MvcViewFactoryCreator"> <property name="viewResolvers" ref="tilesViewResolver"/> </bean> <bean id="customTransitionExecutingFlowExecutionExceptionHandler" class="xyz.web.exception.CustomTransitionExecutingFlowExecutionExceptionHandler"> </bean> </beans>
but still the error remains..Code:.... <!-- END --> <end-state id="end" view="externalRedirect:/xxx/xxx-flow" /> <exception-handler bean="customTransitionExecutingFlowExecutionExceptionHandler"/> <!-- <bean-import resource="beans.xml"/>--> </flow>



Reply With Quote
