Sun公司设计Jsp时,在jsp页面加载完毕之后就会自动帮开发者创建好这些对象,而开发者只需要直接使用这些对象调用方法即可.
这些方法按照类型分为四类
| 第一类(输入输出对象) | 类型 |
|---|---|
| request | HttpServletRequest |
| response | HttpServletResponse |
| out | JspWriter |
| 第二类(通信控制对象) | 类型 |
|---|---|
| pageContext | pageContext |
| session | HttpSession |
| application | ServletContext |
| 第三类(Servlet对象) | 类型 |
|---|---|
| page | Object(this) |
| config | ServletConfig |
| 第四类(错误处理对象) | 类型 |
|---|---|
| exception | Throwable |
8万+

被折叠的 条评论
为什么被折叠?



