上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 52 下一页
摘要: 一、 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) 编辑
摘要: 一、用 MultipartFile 1.在html中设置<form enctype="multipart/form-data">及<input type="file"> 1 <html xmlns:th="http://www.thymeleaf.org"> 2 <head> 3 <title>Sp 阅读全文
posted @ 2016-03-05 18:19 shamgod 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 一、什么是multipart The Spittr application calls for file uploads in two places. When a new user registers with the application, you’d like them to be able 阅读全文
posted @ 2016-03-05 17:06 shamgod 阅读(1731) 评论(0) 推荐(0) 编辑
摘要: 一、所有声明都用xml 1. 1 <?xml version="1.0" encoding="UTF-8"?> 2 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.or 阅读全文
posted @ 2016-03-05 16:18 shamgod 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 一、 1.如想在DispatcherServlet在Servlet容器中注册后自定义一些操作,如开启文件上传功能,则可重写通过AbstractAnnotationConfigDispatcherServletInitializer 的customizeRegistration() 来实现 1 // 阅读全文
posted @ 2016-03-05 15:49 shamgod 阅读(3622) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 52 下一页
haha