摘要: States, transitions, and entire flows can be secured in Spring Web Flow by using the <secured> element as a child of those elements. For example, to s 阅读全文
posted @ 2016-03-06 21:31 shamgod 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 一、 1. 2.payment-flow.xml <?xml version="1.0" encoding="UTF-8"?> <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.o 阅读全文
posted @ 2016-03-06 21:23 shamgod 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 一、 1.订单流程定义文件order-flow.xml 1 <?xml version="1.0" encoding="UTF-8"?> 2 <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://w 阅读全文
posted @ 2016-03-06 21:08 shamgod 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 一、 1. 2. 3.customer-flow.xml 自己定义customer,最后output 1 <?xml version="1.0" encoding="UTF-8"?> 2 <flow xmlns="http://www.springframework.org/schema/webfl 阅读全文
posted @ 2016-03-06 20:51 shamgod 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 一、 1. 2.pizza-flow.xml 1 <?xml version="1.0" encoding="UTF-8"?> 2 <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3 阅读全文
posted @ 2016-03-06 18:13 shamgod 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 一、 In Spring Web Flow, a flow is defined by three primary elements: states, transitions,and flow data.如果把webflow当做是一次旅行,则state是旅途中每个景点,而transitions是连接 阅读全文
posted @ 2016-03-06 17:42 shamgod 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 一、 1.Wiring a flow executor <flow:flow-executor id="flowExecutor" /> Although the flow executor is responsible for creating and executing flows, it’s 阅读全文
posted @ 2016-03-06 15:12 shamgod 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: 一、redirect为什么会丢数据? when a handler method completes, any model data specified in the method is copied into the request as request attributes, and the r 阅读全文
posted @ 2016-03-06 12:15 shamgod 阅读(396) 评论(0) 推荐(0) 编辑
摘要: No matter what happens, good or bad, the outcome of a servlet request is a servlet response. If an exception occurs during request processing, the out 阅读全文
posted @ 2016-03-06 11:14 shamgod 阅读(1302) 评论(0) 推荐(0) 编辑
haha