spring web flow 2.0入门(转)

Spring Web Flow 2.0 入门

一、Spring Web Flow 入门demo(一)简单页面跳转 附源码 (转)

二、Spring Web Flow 入门demo(二)与业务结合 附源码(转)

三、Spring Web Flow 入门demo(三)嵌套流程与业务结合 附源码 (转)

补充:在文章中,少了一个Product的类如下:

package com.wy.service;

import java.io.Serializable;

public class Product implements Serializable {

    private static final long serialVersionUID = -7156190569695041041L;
    private int productId;
    private String description;
    private int price;
    

    public int getProductId() {
        return productId;
    }
    public void setProductId(int productId) {
        this.productId = productId;
    }
    public int getPrice() {
        return price;
    }
    public void setPrice(int price) {
        this.price = price;
    }
    
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public Product() {
        super();
        // TODO Auto-generated constructor stub
    }
    public Product(int productId, String description, int price) {
        super();
        this.productId = productId;
        this.description = description;
        this.price = price;
    }
    
    
}
原文地址:https://www.cnblogs.com/wangyang108/p/5839734.html