jsp隐式对象
2017-02-08 09:35
309 查看
Implicit Objects
The JSP expression language defines a set of implicit objects:pageContext:
The context for the JSP page. Provides access to various objects including:
servletContext:
The context for the JSP page’s servlet and any web components contained in the same application. See Accessing the Web Context.
session:
The session object for the client. See Maintaining Client State.
request:
The request triggering the execution of the JSP page. See Getting
Information from Requests.
response:
The response returned by the JSP page. See Constructing Responses.
In addition, several implicit objects are available that allow easy access to the following objects:
param:
Maps a request parameter name to a single value
paramValues:
Maps a request parameter name to an array of values
header:
Maps a request header name to a single value
headerValues:
Maps a request header name to an array of values
cookie:
Maps a cookie name to a single cookie
initParam:
Maps a context initialization parameter name to a single value
Finally, there are objects that allow access to the various scoped variables described in Using Scope Objects.
pageScope:
Maps page-scoped variable names to their values
requestScope:
Maps request-scoped variable names to their values
sessionScope:
Maps session-scoped variable names to their values
applicationScope:
Maps application-scoped variable names to their values
相关文章推荐
- 【Head First Servlets and JSP】笔记16:JSP隐式对象(内置对象)的映射关系
- 第十一天3月4日之JSP、EL表达式、el的11个隐式对象、jstl
- 关于JSP的隐式对象的使用(供初学者参考)
- JSP--JSP语法--指令---九大隐式对象--四大域对象--JSP内置标签--JavaBean的动作元素--MVC三层架构
- 掌握 JSP 九大隐式对象--(Servlet 中使用的对象在 JSP 中的应用)
- JSP九大隐式对象归纳总结
- JSP的学习(6)——九大隐式对象及其out对象
- JSP运行原理和九大隐式对象01
- JSP运行原理和九大隐式对象及下载文件、访问次数的代码
- JSP基本功 pageContext对象page,request,session,application四个域对象的使用及区别JSP运行原理和九大隐式对象及下载文件、访问次数的代码总结出el表达式简单
- (36)JSP的隐式对象
- JSP的隐式对象
- JSP执行过程和隐式对象和错误机制
- 浅谈Jsp中隐式对象中Session的生命中期及设置失效时间问题
- JSP页面的九个内置(隐式)对象
- jsp隐式对象
- jsp课程(3)---out隐式对象,pageContext对象
- JSP隐式对象
- JSP:用隐式对象统计网站访问次数
- JSP-隐式对象、pageContext、错误处理