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

Can classes declared using the abstract keyword cab be instantiated?

810


How do you convert boolean to boolean?

753


Can you sort a string in java?

667


Can we override a variable in java?

741


What is the difference between an argument and a parameter?

726


What is the final class modifier?

736


What is a function argument in java?

730


What is a super method?

732


Can an interface extend a class?

718


What is ternary operator?

750


Does string isempty check for null?

748


What are the limitations of procedural programming approach?

724


What are streams in java 8?

744


When is the finalize() called?

893


What is == and === in javascript?

753