This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes Problems integrating Spring Webflow with my Spring MVC application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Problems integrating Spring Webflow with my Spring MVC application" Watch "Problems integrating Spring Webflow with my Spring MVC application" New topic
Author

Problems integrating Spring Webflow with my Spring MVC application

Gabriela Rios
Ranch Hand

Joined: Feb 27, 2008
Posts: 32
Hello, I'm having some difficulties adding Spring Webflow to my application.

I used one of the spring samples: webflow-showcase: https://src.springframework.org/svn/spring-samples/webflow-showcase
I got it to run locally. I created my own flow and made it work.

Now, I'm trying to add it to my application but I can't get the reference to go to the folder with my flow definition.

webflow.xml


servlet-context.xml

I originally only had UrlBasedViewResolver but for the flows I had to create an AjaxUrlBasedViewResolver and I had to add a new definition to my TilesConfigurer.



This is the page that launches my flow: shoppingcart.jsp. My href is the name of the folder that has my flow: shopping-cart.



My shopping-cart folder is in "/WEB-INF/views/flows" as per my FlowRegistry.

WEB-INF
>>views
>>>>flows
>>>>>>shopping-cart
>>>>>>>>flow.xml
>>>>>>>>step1.jsp
>>>>>>>>step2.jsp
>>>>>>>>views.xml

flow.xml



views.xml




Any idea of what I'm doing wrong? Thanks. Any help will be greatly appreciated.

Regards,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems integrating Spring Webflow with my Spring MVC application
 
Similar Threads
Error Nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException WebFlow
Spring web flow: Not proceeding from first page to second page
collection getting appended on refresh of page
org.springframework.beans.factory.BeanCreationException
REST web service return both XML or JSON