• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implicit objects in JSP

 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the implicit objects does not represnts a scope container?
a application
b session
c request
d page
e pagecontext

Correct ans= d

Can you please tell me why it is page ?
page is also matain by container object pageContext.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page is of type Object. So it is under the hood of jdk!
 
Harshad Dhamorikar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have found this online somewhere.... hope this helps!

According to the spec the "page" object is

The instance of this page�s implementation class processing the current request page scope
When the scripting language is java then page is a synonym for this in
the body of the page.

So in terms of JSP the "page" object should be the servlet generated by the JSP - something that implements javax.servlet.jsp.HttpJspPage
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic