Spring Web flow is a member of the spring family that simplifies the development of Web applications. The Web application development tool for spring Web flow is integrated in Grails0.6. Here's an example to show you how to use spring Web flow easily in grails.
1, "Grails create-app webflowdemo", the output is as follows:
d:\_dev\grails_apps>grails Create-app Webflowdemo
Welcome to Grails 0.6-http://grails.org/
licensed under Apache Standard License 2.0
Grails Home is set to:d:\d\my_dev\grails0.6
Base Directory:d:\_dev\grails_apps
environment set to development
note:no plugin scripts found
Running Script D:\D\MY_DEV\grails0.6\scripts\CreateApp.groovy
overriding previous definition of reference to Groovyjarset
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\src
[mkdir] Created dir:
D:\_DEV\GRAILS_APPS\WEBFL
Owdemo\src\java
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\src\groovy
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\grails-app
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\controllers
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\services
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\grails-app\domain
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\grails-app\taglib
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\utils
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\views
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\views\layouts
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\i18n
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\conf
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\test
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\test\unit
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\test\integration
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\scripts
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\web-app
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\web-app\js
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\web-app\css
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\web-app\images
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\web-app\web-inf\classes
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\web-app\meta-inf
[mkdir] Created dir:
D:\_dev\grails_apps\webflowdemo\lib
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\conf\spring
[mkdir] Created dir:
d:\_dev\grails_apps\webflowdemo\grails-app\conf\hibernate
[Propertyfile] Creating new Property file:
d:\_dev\grails_apps\webflowdemo\application.properties
[Copy] copying 2 files to
D:\_dev\grails_apps\webflowdemo
[Copy] copying 2 files to
D:\_dev\grails_apps\webflowdemo\web-app\web-inf
[Copy] copying 5 files to
D:\_dev\grails_apps\webflowdemo\web-app\web-inf\tld
[Copy] copying 131 files to
D:\_dev\grails_apps\webflowdemo\web-app
[Copy] copying 1 file to
d:\_dev\grails_apps\webflowdemo\grails-app\conf
[Copy] copying files to
D:\_dev\grails_apps\webflowdemo\grails-app
[Copy] copying 1 file to
d:\_dev\grails_apps\webflowdemo\grails-app\conf\spring
[Copy] copying 1 file to
D:\_dev\grails_apps\webflowdemo
[Copy] copying 1 file to
D:\_dev\grails_apps\webflowdemo
[Copy] copying 1 file to
D:\_dev\grails_apps\webflowdemo
[Propertyfile] Updating property file:
d:\_dev\grails_apps\webflowdemo\application.properties
Created Grails application at D:\_dev\grails_apps/webflowdemo
d:\_dev\grails_apps>