This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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