JSP 内置对象的类型 四种数据范围

request       HttpServletRequest
response      HttpServletResponse
session       HttpSession
application      ServletContext
config         ServletConfig
page          this (HttpServlet)
pageContext     PageContext
exception      Throwable (所有异常父类)
out             JspWriter

------------------------------------------------------------------------------------------------

page   页面的不同部分间共享数据
request
session
application:
  setAttribute getAttribute
  removeAttribute

 

posted @ 2014-08-25 11:35  vaer  阅读(182)  评论(0编辑  收藏  举报