• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implicit objects and their scopes

 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here i'm listing down the implicit objects and their scopes.

request - request scope
response - page scope
out - page scope
session - session scope
config - page scope
application - application scope
page - page scope
exception - page
Page scope objects are stoed inside the pageContext object

please add your inputs if there are anything else we need to know on this.
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the 9th implicit variable PageContext is missing in your list
 
Daniel Dalton
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And watch out for the datatype of the page implicit object - it's of type java.lang.Object, which you might not expect (I didn't).
 
Srikanth Raghavan
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Daniel Dalton:
And watch out for the datatype of the page implicit object - it's of type java.lang.Object, which you might not expect (I didn't).


I didn't expect it too! Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic