• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL Implicit Objects

 
VP Jain
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can somebody explain me more on the

applicationScope and requestScope (EL implicit objects).

Thanks n advance

regards
vpjain
 
Gabriel Forro
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

they are similair to the pageScope and sessionScope implicit objects:

pageScope - a Map object, which contains attributes from the PageContext object

sessionScope - a Map object, which contains attributes from the object You reference through the HttpSession interface

requestScope - a Map object, which contains attributes from the object You reference through the ServletRequest interface

applicationScope - a Map object, which contains attributes from the object You reference through the ServletContext interface

You can set attributes by the setAttribute(...) functions of PageContext, HttpSession, ServletRequest and ServletContext.

Hope it helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic