- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Struts——an open-source MVC implementation
This article introduces Struts, a Model-View-Controller implementation that uses servlets and JavaServer Pages (JSP) technology. Struts can help you control change in your Web project and promote specialization. Even if you never implement a system with Struts, you may get some ideas for your future servlets and JSP page implementation.
Introduction
Kids in grade school put HTML pages on the Internet. However, there is a monumental difference between a grade school page and a professionally developed Web site. The page designer (or HTML developer) must understand colors, the customer, product flow, page layout, browser compatibility, image creation, JavaScript, and more. Putting a great looking site together takes a lot of work, and most Java developers are more interested in creating a great looking object interface than a user interface. JavaServer Pages (JSP) technology provides the glue between the page designer and the Java developer.
If you have worked on a large-scale Web application, you understand the term change. Model-View-Controller (MVC) is a design pattern put together to help control change. MVC decouples interface from business logic and data. Struts is an MVC implementation that uses Servlets 2.2 and JSP 1.1 tags, from the J2EE specifications, as part of the implementation. You may never implement a system with Struts, but looking at Struts may give you some ideas on your future Servlets and JSP implementations.
Model-View-Controller (MVC)
JSP tags solved only part of our problem. We still have issues with validation, flow control, and updating the state of the application. This is where MVC comes to the rescue. MVC helps resolve some of the issues with the single module approach by dividing the problem into three categories:
Model The model contains the core of the applications functionality. The model encapsulates the state of the application. Sometimes the only functionality it contains is state. It kn
您可能关注的文档
- 上下级沟通满意度对组织承诺影响的研究毕业论文开题报告.doc
- XX集团有限公司财务分析所反映问题及解决措施--财务分析开题报告.doc
- 丙烯酸酯的微波乳液聚合研究毕业论文(开题报告).doc
- 玻璃生产线监控系统的设计与研究毕业设计开题报告.doc
- 渤海油气田生产平台风险评价应用本科毕业设计(论文)开题报告.doc
- 财务报表分析方法研究开题报告.doc
- 采煤机正式开题报告---采煤机模型(摇臂部分)的结构设计及用于煤岩界面识别的测试系统设计.doc
- 会计诚信契约:理论构架与实现路径研究--博士论文开题报告.doc
- 如何加强中小型企业的财务管理--财务管理类论文开题报告.doc
- 我国盾构法隧道施工技术研究毕业设计文献综述.doc
最近下载
- SY 4208-2008石油天然气建设工程施工质量验收规范 输油输气管道线路工程.pdf
- 3.5.4消毒与灭菌工作管理A.docx VIP
- 模具清洁剂化学品安全数据表MSDS.pdf
- 毒麻药品管理制度.doc VIP
- 《高中化学课件》等效平衡(上课).ppt VIP
- 毒麻药品培训考试题 - 药学.docx VIP
- 初中音乐课歌唱教学现状与优化策略探究.docx
- 《石油地质学》全套教学课件.pptx
- 2022年海南省事业编考试题库.pdf VIP
- IPC-1602A_2024 印制板搬运和储存标准Standard for Printed Board Handling and Storage.pdf VIP
文档评论(0)