---
title: "struts控制流程图"
author: "caoxiping"
date: "2010-11-03T10:23:36Z"
tags: []
categories: ["企业架构"]
slug: "struts"
draft: false
lastmod: "2010-11-03T10:23:36Z"
id: 801365
url: "https://caoxiping.iteye.com/blog/801365"
---

model 1　模型：

![](http://tech.ccidnet.com/col/attachment/2004/8/320186.jpg)

MODEL　2模型：![](http://dl.iteye.com/upload/attachment/342030/407a9dfe-96a5-302c-8dd3-6e1ee8da5574.jpg)

Struts mvc结构：

/＊

＊着重解释：Action为Controller的一部分。只是简单的收集业务方法所需的数据并传递给给业务对象，其主要职责：

＊1、检验前提条件或声明；

＊2、调出需要的业务逻辑方法，

＊3，检测或处理其它错；

＊4，路由控制到相关视图

＊/

![](http://tech.ccidnet.com/col/attachment/2004/8/320190.gif)

actionServlet 数据流图：

![](http://tech.ccidnet.com/col/attachment/2004/8/320192.jpg)