
- 动态方法调用
- 定义someAction.java

- 注册Struts.xml 文件

- Index 和welcome文件
(1)Index.jsp页面

- welcome.jsp页面

- 通配符匹配
- 定义someAction.jsp 页面

- Struts.xml 页面

- Index和welcome页面


- 接收请求参数
- 属性驱动方式
- 域驱动方式--对象驱动
1.定义属性

- 把实体类注册到action

- 注册到struts.xml

- 首页

- 欢迎页

- 模型驱动方式
- loginAction

- Struts

- 首页和欢迎页
(1)首页

- 欢迎页

- 数据校验
- 编程式校验
- LoginAction

- 注册到struts.xml文件中

- Index.jsp 和welcome.jsp
- 首页

- 欢迎页面

- 声明式校验

- LoginAction

- Validation.xml

- Struts.xml

- Index welcome stu_add
- Index

- Welcome

- Stu_add

- 拦截器
(一)自定义拦截器

- Intercepors 拦截器进栈,出栈

- Struts

- Intex

- Welcome

- Stu_add

- 声明拦截器
Struts文件

- 文件上传
- 单个文件上传

- Up;oadAction

- 注册到 struts 上传图片

- Index

- Success
