Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any use of page implicit object?

 
Raj Menon
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every body,

I want to know the use of page implicit object?
Because i've never seen any code using 'page' implicit object in any JSPs.
[ May 24, 2007: Message edited by: Rajesh Kodali ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, we usually don't see it. As mentioned in the spec "When the scripting language is java then page is a synonym for this in the
body of the page.". It would be the same as using "this" in a java class, or not using it.



Same for JSP. You usually don't bother using "page" to access an attribute in the page scope.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic