资源简介
1:外文原文
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 application's functionality. The model encapsulates the state of the application. Sometimes the only functionality it contains is st

代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 35100 2010-05-28 15:01 外文翻译.docx
----------- --------- ---------- ----- ----
35100 1
----------- --------- ---------- ----- ----
文件 35100 2010-05-28 15:01 外文翻译.docx
----------- --------- ---------- ----- ----
35100 1
- 上一篇:根据配置文件自动构造Bean类
- 下一篇:Java多人聊天室(有登录注册)
相关资源
- 计算机网络CRC循环冗余检测系统
- 中南民族大学计算机科学学院java实验
- 计算机网络课设24分游戏 java
- 很全面计算机面试题及答案
- 华中科技大学计算机组成原理实验.
- ASP.NET基于WEB的选课系统(源代码+论文
- jsp+servlet+javabean新闻发布系统计算机毕
- JSP论坛系统(程序毕业论文外文翻译
- 北京邮电大学计算机实习报告
- 计算机网络课程设计报告_DH算法_Wir
- jsp+sql智能道路交通信息管理系统的设
- 燕山大学计算机专业javaweb课设大学师
- 超市管理系统毕业论文和JAVA完整代码
- 基于java的opengl计算机图形学学习资料
- 计算机网络课程设计(JPCAP发包与抓包
- 网上招聘求职系统毕业设计
- JAVA-计算机操作系统 多级反馈队列调
- 武汉理工大学计算机马区综合实验2
- 计算机网络安全课程des算法实验报告
- 计算机专业毕业设计论文含代码和所
- 计算机毕业设计 医院门诊管理系统
- 带数据库的+计算机信息企业管理系统
- JAVA+SQL办公自动化系统(源代码+论文
- 50篇实用的计算机毕业参考论文
- 西电计算机数据库上机作业_2016级SQ
- 计算机系本科生毕业设计答辩精美P
- JSP学生学籍管理系统源代码+论文+开题
- JSP基于WEB网上论坛设计与实现(源代
- 基于Java的图书管理毕业设计论文+源码
- 计算机网络课程设计实验报告-网络聊
评论
共有 条评论