diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow b/spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow index 2b9959e6..3d497048 100644 --- a/spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow @@ -1,11 +1,11 @@ 1 - + - src/main/webapp/WEB-INF/rewards/newReward/newReward-flow.xml - + src/main/webapp/WEB-INF/tutorial/tutorial-flow.xml + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/tutorial/tutorial-flow.xml b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/tutorial/tutorial-flow.xml new file mode 100644 index 00000000..484fa408 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/tutorial/tutorial-flow.xml @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/tutorial/webflowProjectOverview.jsp b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/tutorial/webflowProjectOverview.jsp new file mode 100644 index 00000000..1e59e464 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/tutorial/webflowProjectOverview.jsp @@ -0,0 +1,43 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ page session="false" %> + + + Getting Started with Spring Web Flow: Overview of the Spring Web Flow Project + + +

+ What is Spring Web Flow? +

+

+ Spring Web Flow is a framework for implementing stateful web controllers. + It is a Spring Project and part of Spring's open-source Web Stack. +

+

+ When do I use Web Flow? +

+

+Use Spring Web Flow when you need to implement a flow that guides your users through a series of screens to complete a business goal. +Web Flow provides a flow definition language for authoring flows that define screen navigation rules. +The framework also cares for managing conversational state and preventing duplicate transactions. +

+

+ How does Web Flow relate to other Spring projects? +

+

+Spring Web Flow builds on the Spring Framework project, which includes the Spring MVC web framework. +Concretely, Spring Web Flow plugs into Spring MVC as a Controller technology. +Then, a typical Spring-powered web application is implemented using a mix of annotated Spring MVC @Controllers and web flows. +In general, use @Controllers for implementing simple, single-request user interactions, and web flows for stateful, multi-step user interactions. +

+

+A number of other Spring projects also integrate with Spring Web Flow. +The Spring Faces project uses Spring Web Flow as the controller framework to support implementing Spring-powered web applications that use JavaServerFaces (JSF) as the view technology. +Spring Web Flow also provides integration with Spring Security for securing web flows. +

+

+How Spring Web Flow fits into Spring's layered, a-la-carte "Web Stack" is illustrated below: +" /> +

+Next > + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp index 4d1d253b..cf910130 100644 --- a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp @@ -5,8 +5,19 @@ Getting Started with Spring Web Flow -

+

Congratulations! You're running Spring!

+

Welcome to the Getting Started with Spring Web Flow tutorial

+

+ This tutorial provides a guide to getting up and running with Spring Web Flow in 10 minutes. + The tutorial itself is implemented as a web flow. + Step 1 of the tutorial will provide a brief overview of the Spring Web Flow project. + Future steps will guide you through the basics of integrating Web Flow into your own Spring-powered web application. + Enjoy! +

+

+ Begin the tutorial +

\ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/images/tutorial/spring-web-stack.png b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/images/tutorial/spring-web-stack.png new file mode 100644 index 00000000..2966882a Binary files /dev/null and b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/images/tutorial/spring-web-stack.png differ