• Post Reply Bookmark Topic Watch Topic
  • New Topic

implicit objects  RSS feed

 
Mathew Ung
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The below implicit objects are a bit confusing, how is page different from pageContext and whats the purpose of config ?

�page – java.lang.object, refers to the page’s servlet instance
�pageContext – javax.servlet.jsp.PageContext, refers to the page’s environment
�config – javax.servlet.ServletConfig, refers to the servlet’s configuration
 
Bimal Patel
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think it is the instance of the JSP page's servlet, processing the current request. Something like "this" keyword.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Breakdown of the implicit objects

In the real world, you probably won't ever use page and rarely (if ever) use config.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!