what is the difference between pagecontext and
servletcontext?

Answer Posted / mahesh

PageContext is used to store the attributes as Objects like
key&value pairs in JSP .Its mostly used in Beans concept.


ServletContext is the Context for the total web application
, mean it provides the runtime environment for all the
servlets .


Bye

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When to use runnable interface vs thread class in java?

526


How does hashset work in java?

565


Differentiate between static and non-static methods in java.

571


can used Protected Class outside Function.?

614


What do you mean by composition in java?

572






What is a generic type?

564


What is finalize() function in java?

563


How is a structure different from array ?

584


What is percentage in java?

575


What is the difference between exception and error in java?

493


What is a boolean field?

531


Explain reverse a linked list recursive java solution?

533


How to do a true java ping from windows?

616


What is the use of singleton class?

525


How do you trim a space in java?

502