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 are static initalizers in java ?
What is complexity in java?
What is the concatenation operator in java?
Implement two stacks using a single array.
What is string example?
What is the gregoriancalendar class in java programming?
How do you download stubs from Remote place?
Explain different types of wrapper classes in java?
Can java list be null?
What are the rules for naming an array?
What is map java?
Is empty set an element of empty set?
When do we need to use internal iteration? When do we need to use external iteration?
What is a databasemetadata?
What does escaping a character mean?