ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is the difference between pageContext and page 
implicit objects in jsp?
 Question Submitted By :: Ravurivinod
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between pageContext and page implicit objects in jsp?
Answer
# 1
Page Implicit Object :
8 type of Implicit object are genreted when JSP file is 
converted into Servlet 

8 type of Implicit Object are 
(1)Page
(2)pageContext
(3)application
(4)session
(5)exception
(6)config
(7)request
(8)responce


pagecontext is type of implicit Object 

in pageContext two method is available
(1)include
(2)forward


it is equvaalect in servlet to RequestDispatcher
 
Is This Answer Correct ?    0 Yes 0 No
Shailendra Sharma
 
  Re: What is the difference between pageContext and page implicit objects in jsp?
Answer
# 2
Hi shailendra

Thnks for your response, but iam asking what is the 
difference between page and pagecontext implicit objects in 
jsp?

Thanks & Regards
    Vinod
 
Is This Answer Correct ?    0 Yes 0 No
Ravurivinod
 
 
 
  Re: What is the difference between pageContext and page implicit objects in jsp?
Answer
# 3
pagecontext is used to include or forward to another resource,
PageContext is used to save the scoped objects
PageContext is used to hold the page scoped attributes

where as page is the instance of the generated servlet
 
Is This Answer Correct ?    0 Yes 0 No
Ravikiran(aptech Mumbai)
 
  Re: What is the difference between pageContext and page implicit objects in jsp?
Answer
# 4
Hi Ravikiran

Thanks for your quick response .

Thanks & Regards
    Vinodh.
 
Is This Answer Correct ?    0 Yes 0 No
Ravurivinod
 
  Re: What is the difference between pageContext and page implicit objects in jsp?
Answer
# 5
page context is the apllication object,that can be used for 
entire aplication. and page config object is for one 
servlet generated object.
 
Is This Answer Correct ?    1 Yes 0 No
Anil Das
 
  Re: What is the difference between pageContext and page implicit objects in jsp?
Answer
# 6
pageContext is used to get different scope objects like 
request,session,context etc. where as page object of jsp is 
used to refer the current page scope and can be compared 
with local variable declared.
 
Is This Answer Correct ?    0 Yes 0 No
Venkat
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Which all r Final classes in java except string?  3
How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?  1
When finally clause is executed?  3
what is the difference between the "protected and default" modifiers?  4
Why can't we make jsp as a controller and action servlet in struts?  3
what do you meant by Runtime Polymorphism? Persistent9
methods in Applet?  1
if arraylist size is increased from initial size what is the size of arraylist...suppose initial is 100 , if i add 101 element what is the size...  2
int a=1; float b=1.0; System.out.println(a==b); Honeywell7
What are MalformedURLException and UnknownHost Exceptions and whey they will be thrown?  1
what is mean by method signature? Satyam5
Difference between Applet & Application?  3
What is the use of bin and lib in JDK?  2
What is a J2EE component? List out all the component? Adobe2
How are this() and super() used with constructors?  3
What JNDI(Java Naming and Directory Interface) provides?  4
using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.  2
Are there any tools available in java to create reports?  4
What is an abstract class and abstract method?  4
How applets will communicate with each other?  1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com