摘要
笔者首先介绍Web应用程序的架构,包括C/S和B/S两种架构,然后分析JSP技术的工作原理,最后探讨JSP的MVC设计模式三层结构。该设计模式将Web应用程序分为了视图、控制、模型三个部分。由HTML实现表现层功能,Servlet完成用户请求和响应控制,Java Bean实现业务逻辑处理。
The author first introduces the architecture of Web application,including two architectures of C/S and B/S,then analyzes the working principle of JSP technology,and finally discusses MVC's design mode and three tier structure of JSP.The design pattern divides the Web application into three parts of view,control and model.The performance layer function is implemented by HTML,Servlet completes user request and response control,and JavaBean implements business logic processing.
作者
洪贵华
Hong Guihua(School of Information Science&Engineering,Dianxi Science and Technology Normal University,Lincang Yunnan 677000,China)
出处
《信息与电脑》
2017年第24期16-17,20,共3页
Information & Computer