`
myoldman
  • 浏览: 83414 次
  • 性别: Icon_minigender_1
  • 来自: 福建福州
最近访客 更多访客>>
社区版块
存档分类
最新评论

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,处理后跳转请求)。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics