File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Sample Spring Web Flow Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Sample Spring Web Flow Application" Watch "Sample Spring Web Flow Application" New topic

Sample Spring Web Flow Application

N Deepu

Joined: Jul 28, 2011
Posts: 25

Hi all,

I'm searching for a basic Spring Web Flow application code on net but I'm unable to find. I'm suppose to cover the 3 chapters in the Web Flow tutorial given in the Springsource through an example. But the simple example is not found. Can someone please help me with a sample web flow application?

thanks in advance
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I believe there are samples when you download the Web Flow project from SpringSource. Or at least samples to download on the project website. There is also a website up with Webflow to run in the browser.

Yep here

Online sample application is available here:

Sample applications can be downloaded here:


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 226
Hi, I am building my webflow application based on the booking app. It works fine with one single flow.
When I want to add a second flow (eg. hotels/checkout) to it, it still use the old path (hotels/booking).

What should I do in order to add a second flow to the application?

I have added the second flow using the following configuration:


<bean name="hotels/checkout" class="...ChckoutFlowHandler" />

and then I also created directory/files for
and other jsp files under hotels/checkout/

I also created hotels/checkout/views.xml like so:

During page execution, hotels/checkout? is getting called, but it was redirected to the page under hotels/booking/ rather than hotels/checkout/

What is missing in my spring setup?

Any suggestion would be very appreciated.
jQuery in Action, 3rd edition
subject: Sample Spring Web Flow Application
It's not a secret anymore!