what is the difference between pagecontext and
servletcontext?
Answer Posted / ram
A PageContext instance provides access to all the
namespaces associated with a JSP page, provides access to
several page attributes, as well as a layer above the
implementation details.
The ServletContext gives information about the container in
which the servlet (or JSP) is running in. Parameters for
this can be setup in the web application deployment
descriptor and there is one ServletContext per web
application.
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What java is used for?
What is Enum in Java?
How variables are stored in memory?
How do listeners work?
What is class variable java?
What about anonymous inner classes in java?
What is the difference between checked exception and unchecked exception?
What is the benefit of using enum to declare a constant?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Is 0 an irrational number?
What is the diffrence between inner class and nested class?
What is a classloader in java?
What are different types of references?
How do you sort a string in java?
In a class implementing an interface, can we change the value of any variable defined in the interface?