What is the difference between pageContext and page
implicit objects in jsp?
Answer Posted / amit
Page and Pagecontext are implicit objects in jsp. These are created at JSP translated time. The page object represents the generated servlet instance itself and is used as a scope with in one jsp. Pagecontext is used to initilize all implicit objects for example :- page attributes, access to the request, response and session objects, as well as the JspWriter referenced by out. Refer http://modernpathshala.com/Learn/servlet-and-jsp/Interview to read servlet and jsp interview questions
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is binary tree in java?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
Can a class have multiple subclasses?
Are generics important java?
Is void a wrapper class?
Where is const variable stored?
What is class level lock ?
How many types of threads are there in java?
What is scope & storage allocation of global and extern variables? Explain with an example
What will happen if static modifier is removed from the signature of the main method?
What are basic data types?
Which data type is a class in java?
Can finally block be used without a catch?
What is a cup of java?
What is the difference between object oriented programming language and object based programming language?