aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Sample Spring Web Flow Application" Watch "Sample Spring Web Flow Application" New topic
Author

Sample Spring Web Flow Application

N Deepu
Greenhorn

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
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

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:
http://richweb.springframework.org/swf-booking-faces/spring/intro

Sample applications can be downloaded here:
http://www.springsource.org/webflow-samples

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
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:

webmvc-config.xml:

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

and then I also created directory/files for
hotels/checkout/checkout-flow.xml
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.
Thanks
Sam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sample Spring Web Flow Application