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
What is javac in java?
What is the list interface?
What do you mean by mnemonics?
What is codebase?
What is the access scope of a protected method?
What is a method in java?
Does java list allow null?
How many types of assembly languages are there?
Is java hashset ordered?
What are features of java?
Can there be an abstract method without an abstract class?
What do you understand by java virtual machine?
How to display arraylist values in java?
What is thread count in java?
How do you calculate roots in java?