File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
collection getting appended on refresh of page
REST web service return both XML or JSON
Error Nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException WebFlow
org.springframework.beans.factory.BeanCreationException
Spring web flow: Not proceeding from first page to second page