What is the difference between pageContext and page
implicit objects in jsp?
Answer Posted / pj
PageContext: This is used to access page attributes and
also to access all the namespaces associated with a JSP
page. It provides a single API to manage the various scoped
attributes.
PageContext also provides access to several page attributes
like including some static or dynamic resource.
The object PageContext is written:
Javax.servlet.jsp.pagecontext
Page: The Page object denotes the JSP page, used for calling
any instance of a Page's servlet. It has page scope. First
type cast the servlet before accessing any method of the
servlet through the page.
The Page object is written: Java.lang.Object
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
State the merge-sort principle and its time complexity.
What restrictions are placed on method overriding?
What are desktop procedures?
what is meant by Byte code concept in Java?
Can final class have constructor?
What are void methods?
Compare overloading and overriding?
What about main() method in java ?
How do you sort words in java?
What is a values collection view ?
Write a function for palindrome and factorial and explain?
Can we have multiple catch block for a try block?
Explain different ways of creating a thread?
What does 3 dots mean in java?
What are the steps that are followed when two computers connect through tcp?