【六袆-JSP】JSP的九个内置对象
什么是JSP的内置对象?
概念:在JSP页面中可以直接使用的Java的对象,如:out
九个内置对象
对象名 | 对应的类型 | 功能描述 |
---|---|---|
request | HttpServletRequest | 请求对象 |
response | HttpServletResponse | 响应对象 |
pageContext | PageContext | 页面上下文对象 |
session | HttpSession | 会话对象 |
application | ServletContext | 上下文对象 |
config | ServletConfig | 配置对象 |
out | JspWriter | 输出对象 |
page | this | 表示当前的Servlet对象 |
exception | Throwable | 异常对象,只能于错误页面 |
本文来自博客园,作者:你好,Alf,转载请注明原文链接:https://www.cnblogs.com/Alf-/p/16192868.html