WebWork 教程
目 录
WebWork 教程-0.90 版....................................................................................................................1
WebWork 介绍............................................................................................................................3
WebWork 安装-HelloWorld.....................................................................................................3
WebWork 安装....................................................................................................................3
HelloWorld..........................................................................................................................4
Action(动作)...............................................................................................................................6
Action 介绍.........................................................................................................................6
用户注册例子.....................................................................................................................7
Field-Driven Action vs. Model-Driven Action.................................................................11
ActionContext(Action 上下文).................................................................................................12
ActionContext 介绍..........................................................................................................12
ServletActionContext........................................................................................................14
ServletDispatcher 原理.............................................................................................................14
Action 的单元测试...........................................................................................................17
Result Type................................................................................................................................18
表达式与言 EL 和 OGNL........................................................................................................23
OGNL 介绍.......................................................................................................................23
值堆栈-OgnlValueStack.................................................................................................23
Interceptor(拦截器)框架...........................................................................................................29
Interceptor 的原理............................................................................................................32
验证框架...................................................................................................................................33
为用户注册添加验证功能...............................................................................................33
XWork 配置详述......................................................................................................................38
xwork.xml 文件的标签元素............................................................................................39
实战 G-Roller-WW...................................................................................................................42
G-Roller-WW 介绍...........................................................................................................42
JSTL 与 WebWork 的整合................................................................................................42
中文解决方案...................................................................................................................42
WebWork 与其它开源项目的集成..........................................................................................42
Spring................................................................................................................................42
Hibernate...........................................................................................................................42
Xml-RPC...........................................................................................................................42
总结...........................................................................................................................................43
附录...........................................................................................................................................43
我钟爱的 Opensympnony.................................................................................................43
从技术的角度 Struts1.1 与 WebWork2 的比较...............................................................45
WebWork 的项目资源......................................................................................................47
参考资料...........................................................................................................................47
评论0