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

Name some OOPS Concepts in Java?

723


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

630


Write a function to find out longest palindrome in a given string?

682


What is stored procedure. How do you create stored procedure ?

1588


Explain about anonymous inner classes ?

666






Why super is first line in java?

651


why we use merge option in hybernate pls give a ex snippet

1556


Is multiple inheritance supported by java?

584


What is 16 bits called?

599


How many bytes is a string java?

624


How to change value in arraylist java?

599


Can a set contain duplicates?

607


Is java an ide?

615


What is a default constraint?

704


What is use of arraylist in java?

673