• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems integrating Spring Webflow with my Spring MVC application

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic