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


Please Help Members By Posting Answers For Below Questions

State the merge-sort principle and its time complexity.

573


What restrictions are placed on method overriding?

641


What are desktop procedures?

558


what is meant by Byte code concept in Java?

600


Can final class have constructor?

501






What are void methods?

570


Compare overloading and overriding?

559


What about main() method in java ?

567


How do you sort words in java?

536


What is a values collection view ?

685


Write a function for palindrome and factorial and explain?

659


Can we have multiple catch block for a try block?

588


Explain different ways of creating a thread?

527


What does 3 dots mean in java?

520


What are the steps that are followed when two computers connect through tcp?

519