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
Are global variables initialized to zero?
How do you reverse a string in java?
Why inputstreamreader is used in java?
Can we catch more than one exception in a single catch block?
Is main a keyword in java?
What about anonymous inner classes in java?
Does java map allow duplicates?
What is ascii format?
In how many ways we can do exception handling in java?
What is a default constraint?
Can we have any code between try and catch blocks?
What is constructor and virtual function? Can we call a virtual function in a constructor?
when to use ArrayList and when to use HashMap in webApplication.
What are basic data types?
Is a char always 1 byte?