2008-03-21
Struts2 Core Developers Guide-Nutshell(概要)
Architecture in a Nutshell(架构概要)
request->Servlet filter-->before interceptors->action-->preresultlistener->result->after interceptors-->response
其中核心部分是interceptors,action,result
Struts Tags in a nutshell(标记库概要)
标记库存在的主要意义就是减少页面代码,已经封装多个页面html元素到一个标记库中,以求最大化复用性。
Struts Configuration in a Nutshell
主要配置文件集中在struts.xml文件中,该文件主要配置applcation运行interceptors,actions,results等信息。现在可以利用annotation来代替xml文件做配置。
Struts MVC in a Nutshell
分离mvc的职责,让taglib和model承当大部分heavy lifting,control只是承当交通警察的角色(定义处理请求,准备model,处理后跳转请求)。
request->Servlet filter-->before interceptors->action-->preresultlistener->result->after interceptors-->response
其中核心部分是interceptors,action,result
Struts Tags in a nutshell(标记库概要)
标记库存在的主要意义就是减少页面代码,已经封装多个页面html元素到一个标记库中,以求最大化复用性。
Struts Configuration in a Nutshell
主要配置文件集中在struts.xml文件中,该文件主要配置applcation运行interceptors,actions,results等信息。现在可以利用annotation来代替xml文件做配置。
Struts MVC in a Nutshell
分离mvc的职责,让taglib和model承当大部分heavy lifting,control只是承当交通警察的角色(定义处理请求,准备model,处理后跳转请求)。
发表评论
- 浏览: 7957 次
- 性别:

- 来自: 福建福州

- 详细资料
搜索本博客
最新评论
-
struts2实践- 结合jquery ...
客户端和服务端配合验证的方案有吗?
-- by hotdog -
struts2实践- 结合jquery ...
只用js验证很不保险,服务端验证不可少
-- by kjj -
struts2实践- 结合jquery ...
jquery 比较耗资源~
-- by happy002 -
struts2实践-页面分页的 ...
能发一个吗 谢谢 dawnco@163.com
-- by adapt -
struts2实践- 结合jquery ...
long_jianxiu 写道不晓得有没有完整的代码,我现在弄的一头雾水的,不知 ...
-- by luckaway






评论排行榜