首页 > 代码库 > 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域对象