制作日期:2009-2-28 struts2 系列教程
大漠孤烟@2008 QQ:53983038 QQ 群:76434335
Page 2 of 162
大漠孤烟
2009-3-1
目 录
第 1章 STRUTS2入门.................................................................................................................................................3
第 2章STRUTS2晋级..................................................................................................................................................9
第 3章 STRUTS2核心概念.......................................................................................................................................15
3.1 struts2 的体系结构
...................................................................................................................................16
3.2 struts2 配置文件
.......................................................................................................................................17
3.3 Action配置
..................................................................................................................................................25
第 4章 表单验证....................................................................................................................................................28
4.1 手动完成输入校验
......................................................................................................................................31
4.2 struts2 框架实现数据校验
.....................................................................................................................34
第 5章 国际化实现................................................................................................................................................ 37
5.1 页面的国际化
..............................................................................................................................................38
5.2 Action的国际化
..........................................................................................................................................39
5.3 验证信息的国际化
......................................................................................................................................41
第 6章 拦截器浅析................................................................................................................................................ 42
6.3 拦截器基础
..................................................................................................................................................42
6.2 使用拦截器
..................................................................................................................................................43
6.3 自定义拦截器
..............................................................................................................................................45
6.4 综合示例
......................................................................................................................................................49
第 7章 探讨IOC模式...............................................................................................................................................49
第 8章 STRUTS2标签...............................................................................................................................................54
第 9章 表达式OGNL................................................................................................................................................78
9.1 OGNL概述
......................................................................................................................................................79
9.2 OGNL基础
......................................................................................................................................................80
9.3 struts2 中OGNL
...........................................................................................................................................82
9.4 OGNL使用示例
..............................................................................................................................................83
第 10 章 上传下载.................................................................................................................................................. 85
第 11 章 视图浅析.................................................................................................................................................. 89
第 12 章 集成AJAX ................................................................................................................................................... 89
12.1 JSON概述
....................................................................................................................................................89
12.2 JSON-RPC概述
............................................................................................................................................90
12.3 JSON示例
....................................................................................................................................................90
12.4 struts2 与JSON 例示
.................................................................................................................................93
第13章 集成HIBERNATE............................................................................................................................................96
13.1 系统总体设计图
.........................................................................................................................................96
13.2 系统用例图
.................................................................................................................................................97
13.3 数据库
........................................................................................................................................................97
13.4 系统效果图展示
.........................................................................................................................................98
13.5 代码清单
................................................................................................................................................... 105
13.6 代码树形图
.............................................................................................................................................. 125
第14章 集成SPRING .............................................................................................................................................. 125