- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
struts2.0 学习1
Revolution to next generation
Struts2.0
20/02/2009
1
Avishek Arang :: avishekarang@
Topics discussed …
Basic features of struts2.0.
Struts2 vs struts1.1.
Architecture of struts2.0.
Basic flow of struts2.0.
How to configure the plugins for struts2 in netbeans IDE.
Some basic components in brief.
Reference
20/02/2009
2
Avishek Arang :: avishekarang@
based Navigation
Built-in Ajax Support: DWR and Dojo
Spring as default inversion of control container
Changed from front-controller servlet to filter
Much better client-side validation support
QuickStart and Annotations
JSF Support
Built-in support for testing with StrutsTestCase
Features
20/02/2009
3
Avishek Arang :: avishekarang@
Struts2.0
Struts1.1
Action
Action or POJO
Result
struts.xml
FilterDispatcher
Interceptors
Action-validation.xml
Action
ActionForm
ActionForward
struts-config.xml
ActionServlet
RequestProcessor
validation.xml
Comparison
20/02/2009
4
Avishek Arang :: avishekarang@
Architecture
20/02/2009
Avishek Arang :: avishekarang@
5
User Sends request.
FilterDispatcher determines the appropriate action.
Interceptors are applied.
Execution of Action.
Output rendering.
Return of Request(reverse order).
Display the result to user.
Avishek Arang :: avishekarang@
20/02/2009
6
Flow of Struts 2 based Application
Select Tools Plugins:
To configure struts plugins to netbeans IDE.
20/02/2009
7
Avishek Arang :: avishekarang@
Configure Plugins:
org-netbeans-modules-web-frameworks-struts2.nbm
org-netbeans-modules-web-frameworks-struts2lib20011.nbm
20/02/2009
8
Avishek Arang :: avishekarang@
Struts 2 Core components are Action handler, Result Handler and Custom Tags.
Action handler Action handler interacts with other layers.
Result Handler Result handler actually dispatches the request to view.
Custom Tags
Custom Tags are used render the dynamic content.
InterceptorsThe Interceptors are used to specify the request-processing lifecycle for an action. Interceptors are configured to apply the common functionali
您可能关注的文档
- 2014北师大版六年级数学下册总复习小数分数百分数和比2.ppt
- 2014《成才之路》高二数学(人教A版)选修2-1课件:3-2-4 利用向量知识求空间中的角.ppt
- 2014《成才之路》高一化学必修1:教师讲义课件4-2-2.ppt
- 2014九年级历史上册期末试题2份及答案.doc
- 2014公共事业管理概论教学进度.doc
- 2014学年七年级上期末数学试题及答案.doc
- 2014届中考数学一轮复习 七年级上册阶段综合测试七(期末三)课件 新人教版.ppt
- 2014年11月初一期中语文练习.doc
- 2014年七年级上册历史期末试卷(含答案).doc
- 2014届高三物理二轮复习名师点拨专题课件 匀变速直线运动.ppt
最近下载
- 求阴影面积的常用方法.pdf VIP
- 2024年广东省深圳市盐田区梅沙街道招聘社区工作者真题含答案详解.docx VIP
- 英、美、中三国会计师事务所组织形式演变研究.pdf VIP
- 工会经费管理与内部审计问题分析及改进建议.docx VIP
- 电气管理课件.pptx VIP
- 2025中国现代文学史自考真题及答案 .pdf VIP
- 2025努力锻造忠诚干净担当的新时代政法铁军党课PPT课件.pptx VIP
- 富士达电梯MLVF-T无机房(CP40)电气原理图.pdf VIP
- 国家建筑标准设计图集-12S101 矩形给水箱.pdf VIP
- Pico Pico Neo 3 VR头盔 Pico Neo 3 0207 用户手册.pdf
文档评论(0)