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


Please Help Members By Posting Answers For Below Questions

What is the use of jtable?

652


What is substring in java?

617


Compare overloading and overriding?

559


What is temp in java?

550


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1603






Explain the usage of this with constructors?

529


What is the exact difference in between Unicast and Multicast object?

1511


What is java objectoutputstream?

543


What is method in java ?

626


What is primitive array?

522


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

1936


Explain java coding standards for constants?

575


Can we sort hashset in java?

629


Explain where variables are created in memory?

583


What do you know about the garbage collector?

610