资源简介
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多人聊天室(有登录注册)
相关资源
- Servlet外文翻译
- socket的应用 计算机网络 java版
- 计算机专业毕业论文-网上订餐系统
- 计算机操作系统大作业—进程控制模
- 多线程Web服务器的设计与实现
- Java本科毕业设计外文翻译文献.rar又需
- JSP应用框架外文翻译
- 计算机专业外文翻译(JSP技术简介及
- JAVA外文翻译212329
- java 毕业设计外文翻译
- java扫描线填充算法
- 使用Intelij开发工具设计Swing版计算机
- 计算机毕业实习报告java方面
- 外文文献及翻译《JSP应用框架》
- 计算机图形学边界标志算法
- java外文翻译
- 本科毕业论文java外文翻译
- 外文翻译(含原文、译文及出处) 适
- 计算机实习日记15篇
- JAVA毕业设计外文翻译 中文+英文JSP技
- IEEE 802.3以太网帧封装——javafx可视化
- 计算机网络课设利用UDP实现聊天系统
- java毕业设计外文文献翻译
- JAVA介绍外文翻译
- Android外文翻译.pdf
- 计算机图形学实验 鼠标点击画直线
- j2ee外文翻译
- JAVA语言考试系统的设计与实现(论文
- 外文翻译--JSP及其WEB技术
- JAVA计算机毕业设计题目大全
评论
共有 条评论