Struts——an open-source MVC implementation By: Malcolm Davis. Source: Struts--an open-source MVC implementation[J].IBM Systems Journal 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. Java Server 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 application's functionality. The model encapsulates the state of the application. Sometimes the only functionality it contains is state. It knows nothing about the view or controller.
View The view provides the presentation of the model. It is the look of the application. The
view can access the model getters, but it has no knowledge of the setters. In addition, it knows
计算机科学学院 毕业设计外文翻译资料题目:Struts——MVC 题目:Struts——MVC 的一种开放源码实现 ——来源:http://www.ibm.com/developerworks/java/library/j-...
计算机外文翻译--Struts-MVC 的一种开放源码实现_英语学习_外语学习_教育专区... JSP软件毕业外文翻译--S... 70人阅读 15页 8.00 计算机外文翻译---...
计算机外文翻译--Struts... 暂无评价 22页 8.00 JSP软件毕业外文翻译--...附件 1:外文资料翻译译文 Struts——MVC 的一种开放源码实现本 文介绍 Struts ...
计算机专业毕业设计外文翻译Struts——an openStruts——...Struts——MVC 的一种开放源码实现 Struts——MVC ...Struts 的前景 在这个软件开发的新时代,一切都变得...
JSP技术概述与应用框架外文翻译毕业设计_工学_高等...参加一个有关软件技术的小型(20 个人)研讨会.做在...象 Struts 这样的框架能提供比从头开始开发更显著的...
百度文库 专业资料 IT/计算机 计算机软件及应用JSP外文翻译 暂无评价0人阅读0次下载举报文档JSP 技术概述一、 二、 JSP 的好处 ...
从这个结果,这意味着游戏项的软件体系结构比社交应用的软件体系结构要复 杂;这可能是由于他们用更多的方式来实现他们的游戏项目导致这种差异。 表 5:测量软件体系...
JSP软件毕业外文翻译 15页 免费喜欢此文档的还喜欢 毕业论文选题系统的设计与....实现工作流程自动化和非结构化数据库的功能,实现了 收发文件从传统的手工方式向...
专业班级 所在学院 黄万德 王奔 软件工程 2008(2+...3.4 系统实现 为了能让用户进行交流,Struts 加工... struts-MVC外文翻译 25页 1下载券 关于J2EE外文献...
关于JSP,SQL方面的毕业设计外文翻译关于JSP,SQL方面...这是因为传统的编译 器是在发布软件之前编译为内部...Using a third-party tool like Apache Struts that...
热门文档