文件名称:Servlet
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:63.78kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在JSP应用中,Servlet一般用于负责业务逻辑处理,而JSP用于显示处理结果。因此,我们必须掌握如何将Servlet的处理结果传递给JSP的方法。根据数据使用的周期和范围,可以选择将数据存储到JSP的内建对象Request、Session或Application中。但要注意的是,存放在Request对象中的数据只能应用在一个请求范围内;存在Session对象中的数据可以应用在一个会话期间;而在Application中的数据则可以应用在整个应用范围内。-Application in JSP, Servlet generally responsible for handling business logic, while the JSP used to display the results. Therefore, we must learn how to deal with the results passed to the Servlet' s JSP method. According to the data using the period and scope, you can choose the data stored in the built-in objects JSP Request, Session or Application in the. But note that the Request object stored in the data can only be applied in the context of a request exist in the Session object can be applied to the data during a session in Application data can be applied to the entire application range.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Servlet.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.