找回密码
 立即注册
相关推荐换一批
ServletThe模式JSP | Applet 2022-10-03 79 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
1.5系统的开发方法在本系统的开发过程中选用的是JSP+JavaBean+Servlet模式,在该模式中,联系了JSP和Servlet技术,充分利用了JSP和Servlet两种技术原有的优点。此模式遵循视图控制器(MVC)模式,它的首要思想是使用一个或多个Servlet作为控制器。恳求由前沿的Servlet接收并管理后,会重新定向到JSP。在Servlet作为控制器时,每个Servlet一般只终结很少一部分功能,多个Servlet控制器就可以联系起来终结杂乱的命令,这样的优点是Servlet的重用性好。在此模式中,JavaBean作为模型的人物,它充当JSP和Servlet通信的核心工具,Servlet管理完后设置Bean属性,JSP读取此Bean的属性,然后进行显示。此模式愈加显着的把显示和逻辑分别,使代码简单管理,适合于大型项目的开发,所以在本系统中选用了这种模式[8]。此模式的数据传递联系如图1-1所示。
学院网上信息管理系统.doc

(1.5 The development method of the system uses JSP JavaBean Servlet mode in the development process of the system. In this mode, JSP and Servlet technologies are connected and the original advantages of JSP and Servlet technologies are fully utilized. This pattern follows the view controller (MVC) pattern, and its primary idea is to use one or more servlets as the controller. After the request is received and managed by the leading edge servlet, it will be redirected to the JSP. When a servlet is used as a controller, each servlet usually terminates only a small part of its functions. Multiple servlet controllers can be linked to terminate messy commands. This has the advantage of good reusability of servlets. In this mode, JavaBean, as the character of the model, acts as the core tool for communication between JSP and servlet. After servlet management, set the bean properties, and JSP reads the bean properties and displays them. This mode increasingly separates display and logic, making code management simple and suitable for the development of large projects. Therefore, this mode is selected in this system [8]. The data transmission connection of this mode is shown in Figure 1-1.
College Online Information Management System.doc)

[下载]08405037529.rar




上一篇:使用BlazeDS实现Java和Flex通信
下一篇:《Effective Java 中文版》清晰带书签