首页 > 代码库 > jsp内置对象与jsp域对象
jsp内置对象与jsp域对象
自己回忆,好像是9个内置对象:
自己回忆 |
类 |
正确与否 |
正确答案 |
|
1.page |
Page |
错 |
page |
Object(this) |
2.pageContext |
PageContext |
对 |
2.pageContext |
PageContext |
3.request |
HttpServletRequest |
对 |
3.request |
HttpServletRequest |
4.session |
HttpSession |
对 |
4.session |
HttpSession |
5.out |
printWriter |
错 |
out |
JspWriter |
6.exception |
Throwable |
对 |
6.exception |
Throwable |
7.context |
ServletContext |
错 |
application |
ServletContext |
8. |
|
错 |
response |
HttpServletResponse |
9. |
|
错 |
config |
ServletConfig |
request |
HttpServletRequest |
response |
HttpServletResponse |
config |
pageConfig |
session |
HttpSession |
out |
JspWriter |
application |
ServletContext |
exception |
Throwable |
page |
Object(this) |
pageContext |
PageContext |
4个域对象
|
|
|
|
|
1.HttpServletRequest |
request |
Request域 |
|
|
2.HttpSession |
session |
Session域 |
|
|
3.ServletContext |
context |
Application域 |
|
|
4.PageContext |
page |
Page域 |
|
|
jsp内置对象与jsp域对象